Change the encoding of a file in Visual Studio Code

So here’s how to do that: In the bottom bar of VSCode, you’ll see the label UTF-8. Click it. A popup opens. Click Save with encoding. You can now pick a new encoding for that file. Alternatively, you can change the setting globally in Workspace/User settings using the setting “files.encoding”: “utf8”. If using the graphical … 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 I customize the tab-to-space conversion factor?

By default, Visual Studio Code will try to guess your indentation options depending on the file you open. You can turn off indentation guessing via “editor.detectIndentation”: false. You can customize this easily via these three settings for Windows in menu File → Preferences → User Settings and for Mac in menu Code → Preferences → … Read more

Does anybody know the name of this setting inside of VS Code Insiders? For grayed out parameter and variable annotations

Those are Inlay Hints. You can enable (the default) or disable them with the setting: Editor > Inlay Hints: Enabled or change the Font Family or Font Size by searching for Inlay Hints in the Settings UI. And there is finer control for parameter names/types, variable types and more for js/ts files. For a lot … Read more

Disable tooltip hint in Visual Studio Code

editor.hover.enabled: false in settings.json to Tooltip Click on Edit in settings.json There are two panes Default User Settings “editor.quickSuggestions”: { “other”: false, “comments”: false, “strings”: false } User Settings “editor.parameterHints.enabled”: false, “editor.suggest.snippetsPreventQuickSuggestions”: false, “html.suggest.html5”: false, “editor.snippetSuggestions”: “none”, This also can be done UI. Setting Snippet Suggestions : false Update August 2018 (version 1.27) Goto File=>Preference=>Settings … Read more