How to reset settings in Visual Studio Code?

It’s a simple thing and I was pretty sure it’s well described, but surprisingly it is not so obvious. Here I’ve found a detailed description of settings file. As it states it should be setting.json file located %APPDATA%\Code\User\settings.json, but in my case it’s not there. Can someone give me some help with restoring default settings … Read more

VSCode single to double quote automatic replace

When I execute a Format Document command on a Vue Component.vue file VSCode replace all single quoted string with double quoted string. In my specific case this rule conflicts with electron-vue lint configuration that require singlequote. I don’t have prettier extensions installed (no prettier.singleQuote in my setting) How to customize VSCode to avoid this? 27 … Read more

Error: ‘types’ can only be used in a .ts file – Visual Studio Code using @ts-check

I am starting to use TypeScript in a Node project I am working on in Visual Studio Code. I wanted to follow the “opt-in” strategy, similar to Flow. Therefore I put // @ts-check at the top of my .js file in hope to enable TS for that file. Ultimately I want the same experience of … Read more