问题
Is there a shortcut, hotkey, or any other way of centering the scrollbars which split the windows in vscode? Ideally I'd like to be able quickly recenter the windows, and ensure each has the same amount of space, but I dont see a way to do this inside any of the commands.
回答1:
This can be done using the workbench.action.evenEditorWidths action, you can either look it up in the command palette:
- ctrl+shift+p
- Type
even - enter
Or define a keybinding in your keyboard shortcuts file:
{ "key": "ctrl+shift+a", "command": "workbench.action.evenEditorWidths",
"when": "editorTextFocus" },
来源:https://stackoverflow.com/questions/35612508/split-window-space-equally-in-vscode