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

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 disable or hide scrollbar/minimap?

Remove Minimap Add the following to your settings.json file “editor.minimap.enabled”: false Note that, as pointed out in another answer, this process has now been simplified to: View->Show Minimap Remove the Overview Ruler Add the following to your settings.json file “editor.hideCursorInOverviewRuler”: true This will keep the scrollbar, but will result in it only appearing when the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)