Permanently Split Editor Viewport?
I'm aware that, when you have several files open in WebStorm, you can choose to split them vertically or horizontally. What I would like is to be able to leave the editor viewport permanently in this split view, ala Sublime. Presently, as soon as you close the final file in a given split, the split disappears and the other window expands to fill the void.
Is there a way to change this behaviour that I haven't found?
Please sign in to leave a comment.
You cannot.
And I think that IDE behaves correctly in this regard -- I personally see no good reason to have empty open splitter (if I have no files to show there, then why I would need it there ... unless, maybe, if I have really huge screen...).
Well I think the behaviour (permanently keeping a viewport split) should at least be entertained as a future feature. The current behaviour means that your workflow has to be "Open file 1, open file 2, split editor tabs, close duplicate copy of file 1 in tab 1, work on files, finish with file 2, think about which file to open next, open file 3, then finally close file 2 once the split tab is safely populated with file 3". It's a bit obtuse when compared to something like Sublime.
Ideally, one should not be writing lines of code that exceed 80 or 120 characters in length, which means even on a 15" laptop screen there's a huge amount of space to the right of the text going to waste. So whilst the benefit would primarily be for people with large monitors, I think almost everyone could potentially benefit.
Define "really huge" :-)
My personal workstation setup is 2 22" monitors side by side. One monitor rotated to landscape position.
I run PHPStorm on the landscape monitor, which allows me to split-screen the editor one on top of the other and easily swap between 2 files. Having to re-split the screen constantly is a pain.
Is there a way we can suggest/vote on this as a new feature?
You can file new Feature Request ticket to the Issue Tracker
For anyone interested in voting for this feature: http://youtrack.jetbrains.com/issue/WI-15616