xabikos / vscode-javascript

Contains the code snippets for JavaScript (ES6) development in VS Code editor
MIT License
328 stars 136 forks source link

How to use double quotes by default? #104

Open michaeliyke opened 2 years ago

michaeliyke commented 2 years ago

The issue I'm having has to do with the require feature which automatically fills in the rest of the code in a require statement.

The extension is very helpful but I'm wondering how I can make the extension use double quotes instead of the default single quotes while auto-filling code for a require statement. I looked for settings and it seems there's none. I know many teams favor single quotes, but it will be better for the option to switch between single and double quotes as needed.

I have checked the docs and searched google but no luck so far. The ability to change the default quotes will prove very helpful because it'll remove the manual effort of replacing single quotes with double quotes which is what I have been doing so far.