4 ms·
Open the context menu for a tab by right-clicking it, select "Split Vertically", and you'll have two columns for tabs.
by applecore 13y ago
Open the context menu for a tab by right-clicking it, select "Split Vertically", and you'll have two columns for tabs.
- codex 13y agoYes, but it's a PITA to move buffers between the panes. No drag and drop? Horrible.
- RossM 13y agoYou can drag and drop but it's a bit picky - grab the file tab and drop it in the other pane's tabstrip. Definitely something that could be improved (as well as splitting to two panes gives you 2 panes of the same file..)
- electrum 13y agoThe drag and drop works but it's a bit weird. You have to drag the tab into the other editor window, not on the tab bar.
- paperwork 13y agoI don't have intellij installed on my computer here, when you say 'split vertically,' do you mean it basically opens two views of same file next to each other, each view scrolling independently? If so, that isn't what I want -- almost every IDE and text editor already does that. What I want is similar to how MS Word takes a single blob of text and reflows it in multiple columns.
- aviraldg 13y agoInteresting idea. Don't think it's been done with an IDE before. Expanding code based on context would be cool too. (eg. second column shows the implementation of whatever the first column's cursor is on - super handy when stepping through code)
- ArnoVanLumig 13y agoNot sure if it counts as an IDE, but emacs has follow-mode which does this. http://www.gnu.org/software/emacs/manual/html%5Fnode/emacs/Follow-Mode.html http://www.gnu.org/software/emacs/manual/html%5Fnode/emacs/F...
- Alphasite_ 13y agoInterestingly enough Xcode tried that as well, and its had mixed reviews.
- krisdol 13y agoHuh, that's interesting. I can't say I've encountered that need before though; it's much more valuable for me to have many panes of different files open at the same time (or two locations of one file), rather than an "extended buffer" of a single file. Most of the context outside the immediate method is not immediately important, and most methods are just a few lines long -- enough to fit in a pane.
- electrum 13y agoNo, it creates an additional editor area that can have any number of files open in it. You drag files between the areas or open the same file in multiple areas. You can continue splitting any area vertically or horizontally to create a configuration that fits your working style or the code you're currently writing.
- hrabago 13y agoYeah I've been doing this for a while now, until I switched to a dual monitor set up where one monitor is landscape and the other, containing my IDE, is portrait.