I like the functionality of autoclosing brackets, quotations, etc... but when you're inside a string for instance: "<inside here>
" and you start typing a single quote or if the quotes are inverted it'll try to auto pair quotations inside the string. Is there a way to disable this functionality inside strings?
How do you disable auto-closing single quotations inside strings?
7.4k views Asked by exts At
5
There are 5 answers
0
On
There is a setting to disable auto-closing of all quotes in the latest version of VSCode as of August 2018 in VSCode 1.27. Add this to your settings.json
:
"editor.autoClosingQuotes": "never"
If you want to disable this for a specific language, nest the above setting under a language-specific setting. For example, to exclusively disable this for the scheme
language,
"[scheme]": {
"editor.autoClosingQuotes": "never",
},
Unfortunately, I do not think there is an option to exclusively disable auto-closing of single quotes or double quotes.
In your
settings.json
file will disable auto-closing brackets, parentheses, quotes, etc.There is no separate switch for selectively disabling quotation matching, only a global setting for all.