Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSCode. How do I remove padding between side bar and editor?

I somehow added padding to the left and right of my editor. Anyone know how I could remove it?

I've played around with view->editor layout but Single mode doesn't do the trick. And switching to the other views and back don't do anything either. I also can't drag the window beyond what is shown below.

my current settings.json, nothing in here should affect it.

{
  "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

like image 381
Kevin Qiu Avatar asked May 17 '19 19:05

Kevin Qiu


2 Answers

Seems like it was answered on github. I just wasn't typing in the correct question. https://github.com/Microsoft/vscode/issues/53778

F1->Toggle Center Layout

like image 95
Kevin Qiu Avatar answered Oct 12 '22 17:10

Kevin Qiu


In settings

"editor.glyphMargin": false

like image 26
Anees Avatar answered Oct 12 '22 18:10

Anees