Visual studio code Visual Studio代码禁用自动报价
如何禁用自动报价功能 当我按“或”键时,我永远不希望它自动插入另一个。无论他们做得多么聪明,它都会让我觉得“不可预测”,并分散我的注意力 我每分钟打字超过100次,我真的不需要别人帮我按“或”键 我尝试了以下设置,但没有一个设置禁用了此不希望出现的行为:Visual studio code Visual Studio代码禁用自动报价,visual-studio-code,Visual Studio Code,如何禁用自动报价功能 当我按“或”键时,我永远不希望它自动插入另一个。无论他们做得多么聪明,它都会让我觉得“不可预测”,并分散我的注意力 我每分钟打字超过100次,我真的不需要别人帮我按“或”键 我尝试了以下设置,但没有一个设置禁用了此不希望出现的行为: { "editor.autoClosingBrackets": false, "editor.wordWrap": "off", "html.autoClosingTags": false, "editor.fo
{
"editor.autoClosingBrackets": false,
"editor.wordWrap": "off",
"html.autoClosingTags": false,
"editor.formatOnType": false,
"editor.suggestOnTriggerCharacters": false,
"editor.acceptSuggestionOnEnter": "off",
}
编辑:来自
“editor.autoClosingQuotes”:“从不”,
“editor.autoSurround”:“从不”//当选择单词时
我想您可以这样“键入”它们(keybindings.json
):
{
“键”:“'”,
“命令”:“editor.action.insertSnippet”,
“args”:{
“代码段”:“”
},
“当”:“EditorExtFocus&&!editorReadonly”
},
将其放入您的用户设置中:
"editor.autoClosingQuotes": "never"
以下是如何更改它的GUI:
- 按
或用鼠标导航到Strg+,
文件|设置
到所需的editor.autoClosingQuotes
never
与
“editor.autoClosingQuotes”不同的是:“never”
设置在选择单词并按下引号键时也会起作用。我可以看到默认值是languageDefined,但如何为语言定义它?