首页 > 解决方案 > VS 代码。如何删除侧栏和编辑器之间的填充?

问题描述

我以某种方式在编辑器的左侧和右侧添加了填充。任何人都知道我可以如何删除它?

我玩过视图-> 编辑器布局,但Single模式不起作用。切换到其他视图并返回也不做任何事情。我也无法将窗口拖到下面显示的范围之外。

我当前的 settings.json,这里没有任何东西会影响它。

{
  "editor.tabSize": 2,
  "editor.detectIndentation": false,
  "window.zoomLevel": 1,
  "editor.minimap.enabled": true,
  "javascript.updateImportsOnFileMove.enabled": "always",
  "[terraform]": {
    "editor.formatOnSave": true
  },
  "breadcrumbs.enabled": true,
  "[python]": {
    "editor.insertSpaces": true,
    "editor.tabSize": 4
  },
  "editor.renderWhitespace": "none"
}

红框是填充

标签: visual-studio-codevscode-settings

解决方案


好像是在github上回答的。我只是没有输入正确的问题。https://github.com/Microsoft/vscode/issues/53778

F1->切换中心布局


推荐阅读