VSCode single to double quote automatic replace

I dont have prettier extension installed, but after reading the possible duplicate answer I’ve added from scratch in my User Setting (UserSetting.json, Ctrl+, shortcut): “prettier.singleQuote”: true A part a green warning (Unknown configuration setting) the single quotes are no more replaced. I suspect that the prettier extension is not visible but is embedded inside the … Read more

How to set per-filetype tab size?

VS Code configures language specific settings in settings.json Shortcut is: Command Palette (⇧⌘P) then: Preferences: Configure Language Specific Settings Example of setting.json changing tabsize { “[sass]”: { “editor.tabSize”: 2 }, “[html]”: { “editor.tabSize”: 4 }, “[javascript]”: { “editor.tabSize”: 2 } } These are not nested inside any other object, they are defined at the root.

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

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 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)