VSCode。如何删除边栏和编辑器之间的填充?

时间:2019-05-17 19:30:38

标签: visual-studio-code vscode-settings

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

我使用过view-> editor布局,但是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"
}

red box is the padding

2 个答案:

答案 0 :(得分:0)

在设置中

“ editor.glyphMargin”:错误

答案 1 :(得分:0)

似乎在github上得到了回答。我只是没有输入正确的问题。 https://github.com/Microsoft/vscode/issues/53778

F1->切换中心布局