In Visual Studio code, a while ago, when I used View->Split Editor, it would split vertically. (One file on the left and one file on the right.)
I updated Visual Studio Code and when when I do View->Split Editor, it always splits horizontally. (One file on the top and one file on the bottom.)
How can I split vertically?
If you want to split the same class: Tools -> Options -> Environment -> Keyboard -> search by Window. Split and add a new shortcut. Show activity on this post. In visual Studio 2015 right click tab part where file name is written and select vertical split or horizontal split.
Keyboard shortcut for vertical block selection: To select code block vertically in your visual studio code, use Shift + Alt and then use the mouse to select lines vertically, from top-left to bottom-right.
Grid
layout. Check View
=>Editor Layout
** Someone update this with the lowest version where this became true.
View
=>Editor Layout
=>Flip Layout
{ "key": "alt+cmd+0", "command": "workbench.action.toggleEditorGroupLayout" }
If you're looking for a way to change this through the GUI, at least in the current version 1.10.1 if you hover over the OPEN EDITORS
group in the EXPLORER
pane a button appears that toggles the editor group layout between horizontal and vertical.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With