When I want to change from double quotes to single quotes, I'm used to selecting the double quote, and then type a single quote. I'm intending to use the overwrite feature, but instead, I'm getting the 'wrap with quote' feature.
For example:
"id"
Would result in:
'"'id"
I always turn this auto surround with wrapping off, but I was unable to find a setting for this in the settings file...
Is there a way to turn this off?
Select the word you want to surround it with and enter Ctrl + Alt + T . Then just key in whatever key you want to surround it with.
Ctrl + K ' select everything between single quotes.
It is possible!
"editor.autoClosingBrackets" : "never"
(Located in settings.json which you can open in Editor via File>Preferences>UserSettings)
Sadly this setting covers ALL auto wrappings. Including braces, double quotes, single quotes and brackets. You cannot control them individually
UPDATE: autoClosingBrackets is obsolete. The new suggestion is:
"editor.autoSurround": "never"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With