skip to Main Content

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?

backtick

2

Answers


  1. Chosen as BEST ANSWER

    I solved it, the answer is:

    "editor.autoClosingQuotes": "never"


  2. 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:

    "editor.autoClosingQuotes": "never",
    

    You can disable it for just Markdown with the following:

    "[markdown]": {
        "editor.autoClosingQuotes": "never",
    },
    

    This behaviour existed even prior to VS Code 1.80. I’m not sure why you’re just observing this now.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search