How to restart VScode after editing extension’s config?

Execute the workbench.action.reloadWindow command. There are some ways to do so: Open the command palette (Ctrl + Shift + P) and execute the command: >Reload Window Define a keybinding for the command (for example CTRL+F5) in keybindings.json: [ { “key”: “ctrl+f5”, “command”: “workbench.action.reloadWindow”, “when”: “editorTextFocus” } ]

How to add more indentation in the Visual Studio code explorer file tree structure?

Go to File > Preference > Settings and choose: Workbench › Tree: Indent Controls tree indentation in pixels. or (in your settings.json enter this directly) “workbench.tree.indent”: 10 and choose a high enough number for you. Also see my answer at Visual Studio code sidebar Vertical guideline (customize sidebar) where with v1.36 you can add colorized … Read more

Visual Studio Code. why are the window control buttons over the menu bar on the left side?

In vscode v1.71.2 the window.experimental.windowControlsOverlay.enabled setting has been disabled by default. This bug was released in vscode v1.71. It may be related to using RTL languages. I would assume this will be fixed in a point release. Try disabling this setting: window.experimental.windowControlsOverlay.enabled from [windows default close button location moved on its own when updating to … Read more

How to exclude file extensions and languages from “format on save” in VSCode?

You can use language specific settings to enable it for a specific language only, e.g. JavaScript: “[javascript]”: { “editor.formatOnSave”: true } To disable it for a specific language, you could switch the global default to true and combine it with a language-specific false: “editor.formatOnSave”: true “[javascript]”: { “editor.formatOnSave”: false } Note that language specific settings … Read more