Split window space equally in vscode

℡╲_俬逩灬. 提交于 2020-11-29 08:40:04

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!