The recent update changed the way VS Code handles the backtick key press. Before it would output one backtick, but now it outputs two with the cursor in the middle. I want to disable this setting, but when I search the default settings for ‘backtick’, ‘tick’, etc., nothing comes up. What setting is this?
Question posted in Visual Studio Code
View the official documentation.
View the official documentation.
2
Answers
I solved it, the answer is:
"editor.autoClosingQuotes": "never"
This is standard behaviour for Markdown in VS Code, where backticks are for code spans. See also the
autoclosingPairs
property in VS Code’s extensions/markdown-basics/language-configuration.json.You can disable quote auto-closing globally by putting the following in your settings.json file:
You can disable it for just Markdown with the following:
This behaviour existed even prior to VS Code 1.80. I’m not sure why you’re just observing this now.