Visual Studio Code: Disable quote wrapping text selection

后端 未结 3 711
忘掉有多难
忘掉有多难 2020-12-29 17:37

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

3条回答
  •  渐次进展
    2020-12-29 18:30

    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"
    

提交回复
热议问题