Reputation: 1422
How do I disable the auto-quotes feature?
When I hit the ' or " key, I do not EVER want it to automatically insert another one anywhere. No matter how smart they make it, it just comes across to me as "unpredictable" and distracts me from what I'm trying to do.
I type over 100 wpm, I really don't need help hitting the ' or " key.
I have tried the following settings, but none of them have disabled this undesired behavior:
{
"editor.autoClosingBrackets": false,
"editor.wordWrap": "off",
"html.autoClosingTags": false,
"editor.formatOnType": false,
"editor.suggestOnTriggerCharacters": false,
"editor.acceptSuggestionOnEnter": "off",
}
Upvotes: 92
Views: 23361
Reputation: 625
add this to settings.json
"[scheme]": {
"editor.autoClosingQuotes": "never"
},
Upvotes: 1
Reputation: 14075
Upvotes: 4
Reputation: 2066
In addition to the accepted answer, I also had to disable "HTML: Auto Create Quotes" in preferences (search for "Quote")
Upvotes: 19
Reputation: 608
Here is a GUI-How-To-Change it:
Strg + ,
or Navigate with mouse to File | Settings
editor.autoClosingQuotes
to the desired never
Upvotes: 16
Reputation: 67531
Edit: from vscode 1.27.0
"editor.autoClosingQuotes": "never", "editor.autoSurround": "never",// When the word is selected
I guess you can "type" them instead like this (keybindings.json
):
{
"key": "'",
"command": "editor.action.insertSnippet",
"args": {
"snippet": "'"
},
"when": "editorTextFocus && !editorReadonly"
},
Upvotes: 31
Reputation: 5889
Put this in your user settings:
"editor.autoClosingQuotes": "never"
Upvotes: 44