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

Visual studio code cmd error: Cannot be loaded because running scripts is disabled on this system

I found out here that you can add to your visual studio code settings the following and the problem will vanish: For visual studio code settings, go to File -> Preferences -> Settings -> Extensions -> Scroll down and find “Edit in settings.json”. Do not forget to restart the visual studio code “terminal.integrated.shellArgs.windows”: [“-ExecutionPolicy”, “Bypass”] … Read more

Color theme for VS Code integrated terminal

You can actually modify your user settings and edit each colour individually by adding the following to the user settings. Open user settings (Ctrl+,) Search for workbench and select Edit in settings.json under Color Customizations “workbench.colorCustomizations” : { “terminal.foreground” : “#00FD61”, “terminal.background” : “#383737” } For more on what colors you can edit you can … Read more

How can you disable Gutter Indicators in VS Code?

It is possible to change it in settings.json Ctrl+, “scm.diffDecorations”: “all” | “gutter” | “overview” | “none” Or you can make them transparent: “workbench.colorCustomizations”: { // Gutter indicators (left) “editorGutter.modifiedBackground”: “#0000”, “editorGutter.addedBackground”: “#0000”, “editorGutter.deletedBackground”: “#0000”, // Scrollbar indicators (right) “editorOverviewRuler.addedForeground”: “#0000”, “editorOverviewRuler.modifiedForeground”: “#0000”, “editorOverviewRuler.deletedForeground”: “#0000” }

How do I change color of comments in visual studio code?

From 1.15 (July 2017) you can change it from settings.json Ctrl+, “editor.tokenColorCustomizations”: { “comments”: “#d4922f” }, From 1.20 (January 2018) you can also do it for each theme separately: “editor.tokenColorCustomizations”: { “[Atom One Dark]”: { “comments”: “#d4922f” } }, Or now you can specify settings for multiple themes at once as “[Atom One Dark][Tomorrow Night … Read more