Skip to content

Support to split editors horizontally #1749

Closed

Description

@SetTrend

It's hard to read code having more than one editing panel opened when they are split horizontally:


code


Is it possible to have Code split editor panels vertically?

Activity

  1. mikewl commented on Jan 3, 2016

    @mikewl

    + 1

    I use 2 on the left and one on the right in atom often and this is missed in VSCode.

  2. felixfbecker commented on Jan 3, 2016

    @felixfbecker
    Contributor

    Axel D. (@SetTrend) as a tip, if you're not on a 16:9 monitor, you can toggle the side bar with Ctrl+B

  3. changed the title [-]Can Code split editor panels vertically?[/-] [+]Support to split editors horizontally[/+] on Jan 3, 2016
  4. added
    feature-request
    on Jan 3, 2016
  5. bpasero commented on Jan 3, 2016

    @bpasero
    Contributor

    Currently not supported, but a valid feature request.

  6. nchammas commented on Jan 22, 2016

    @nchammas

    I often have VS Code on one half of the screen, and a terminal window on the other half. Splitting VS Code vertically makes the code windows too narrow. A horizontal split would work much better in this case.

  7. felixfbecker commented on Jan 22, 2016

    @felixfbecker
    Contributor

    Imo it would also be nice to completely undock windows to put them on external monitors. Just the files, no toolbars - similar to how you can do it in Photoshop with panels.

  8. paul-howard commented on Feb 15, 2016

    @paul-howard

    +1.

  9. mrblackus commented on Feb 25, 2016

    @mrblackus

    +1

  10. tsjishan commented on Mar 9, 2016

    @tsjishan

    +1

  11. opeologist commented on Mar 14, 2016

    @opeologist

    +1

  12. felixfbecker commented on Mar 14, 2016

    @felixfbecker
    Contributor

    Guys there is now a like button on GitHub, lets stop +1ing issues if we dont have anything else to say

  13. paul-howard commented on Mar 14, 2016

    @paul-howard

    Felix Becker (@felixfbecker) Cool! But I had to pull of the desktop version of the site to see it. Doesn't work on mobile yet. 👎

  14. 67 remaining items

  15. RoyHP commented on May 28, 2017

    @RoyHP

    Would love the ability to split both horizontally and vertically at the same time with a grid layout, much like Atom.io has (also Electron based). I won't be switching until this happens unfortunately.

  16. eduncan911 commented on May 29, 2017

    @eduncan911

    Coming from old-school VIM and VS, Sublime and Atom w/VIM plugins... It's a serious limitation to not be able to:

    :vs 
    :vs 
    :split
    

    Translation to non-VIM gurus: it's an echo to the rants in this thread about not being able to split Vertically AND Horizontally - to form a grid-like editor, like mentioned in #14909.

    Enough with the "design reviews" - just enable the features that all other editors have, and be done with it. If you have to change the infrastructure and groupings of tabs or whatever, make it a major version bump and tell everyone why. Done.

    It's so frustrating that I tend to just use VS code for lighting editing, and drop to a terminal for hardcore grid editing.

    On my 4k 30", or on my Macbook Pro 15" Retina - I use the grid layout exclusively.

    Undocking windows would be a big plus too. But right now, I still have to use vim - so I have console open with tmux across my 3 three monitors for now - since VSCode doesn't support the 'grid layout' of horizontal and vertical splits at the same time.

  17. erraX commented on Jun 22, 2017

    @erraX

    +1

  18. aph-vsn commented on Jul 7, 2017

    @aph-vsn

    +1

  19. aph-vsn commented on Jul 7, 2017

    @aph-vsn

    Need to be able to split 4 plus editors

  20. yosefrow commented on Jul 11, 2017

    @yosefrow

    +1

  21. AshleyRodanHP commented on Jul 12, 2017

    @AshleyRodanHP

    It just reverted with the last update.
    Last update i would cmd+1 and it would split it vertically and now when i do cmd+1 it splits it horizontally.

    Id ont see any option in my setting to change this. Was looking for toggleEditorGroupLayout with no avail. :/

    Current version is Version 1.14.0 (1.14.0)

  22. jorgebucaran commented on Jul 20, 2017

    @jorgebucaran

    ⌘+Option+1 on macOS or Shift+Alt+1 on Windows.

    2017-01-29 19 01 37

  23. brucejo75 commented on Sep 1, 2017

    @brucejo75

    The usage description was confusing to me.

    errr... I was banging on shift+alt+1 and then tried entering the toggle command in the command palette to no avail (no new window would split for me)... Luckily I toggled it an odd number of times so my next window split was then vertical. D'oh!!

    To be EXACT:

    1. There are 2 modes for splitting the screen, horizontal or vertical. Horizontal (side by side) is default. To switch the mode use the shift+alt+1 on windows or ⌘+Option+1 on mac.
    2. There is a separate command to actually split the windows: ctrl+\ or cmd+\ for mac.

    Once you have split windows on the screen you can toggle their modes (1) and the split will move. If you do not have any screens split then toggling will just toggle the mode for the next time you split your screen with (2).

    Suggestion

    If the screens are not split, toggling the mode (1)...shift+alt+1 will split the screen just like a screen split (2)... ctrl+\. I think this would make this feature much more discover-able.

  24. taivu commented on Sep 7, 2017

    @taivu

    is there a preference setting in json that will allow me to split horizontal by default? i had to google search to remember to do cmd+option+1

  25. aadamsx commented on Sep 8, 2017

    @aadamsx

    This issue seems related to #5911. I'll post the same comment here just in case:

    Why has this feature not implemented?

    This is a big, important, critical feature and the last one I can find that Atom has but VSCode does not.

    Just implement split view (both horizonal/vertical at the same time) just as Atom -- they did a great job IMO.

    This is the only reason I don't use VSCode over Atom, as I have 2 - 32" - 4K screens and can easily accomodate both vertical and horizonal "windows" or "views" -- it's a must have feature.

  26. wpowers commented on Oct 4, 2017

    @wpowers

    Aaron Adams (@aadamsx)

    Why has this feature not implemented?

    Agreed, this thread is approaching two years old and the requests in here are beginning to feel like begging. What has to happen to resolve this?

  27. stevencl commented on Oct 5, 2017

    @stevencl
    Member

    We implemented the ability to split horizontally or vertically and released that almost a year ago. Prior to this we did not support horizontal splits. At the time we discussed the approach we were taking and the reasons why we did not implement the ability to split both vertically and horizontally.

    We are aware that some people would like more flexibility and we understand the motivation for this. But as I mentioned here: #5911 (comment), we have a large list of items that we need to get done such as multi root. Many of these items have significant impact throughout the rest of the product so we make sure to take our time to do them properly.

    Supporting more flexible layouts than we support currently is a large piece of work since there is some significant UX work required to make sure we get it right then engineering work to implement it. However, we're focusing on getting multi root done just now (this is a large effort) so we will not be able to devote attention to this in the near future unfortunately.

  28. R3V07T commented on Nov 6, 2017

    @R3V07T

    Take it off full screen thats why it dont work how you want it to

  29. locked and limited conversation to collaborators on Nov 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestplan-itemux

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions