如何禁用自动报价功能?
当我按下'或'键时,我从不希望它在任何地方自动插入另一个。无论他们做多聪明,它都会以“无法预测”的形式出现在我身上,并分散我的注意力。做。
我输入了超过100 wpm的速度,我真的不需要按'或'键的帮助。
我尝试了以下设置,但没有一个禁用了这种不良行为:
{
"editor.autoClosingBrackets": false,
"editor.wordWrap": "off",
"html.autoClosingTags": false,
"editor.formatOnType": false,
"editor.suggestOnTriggerCharacters": false,
"editor.acceptSuggestionOnEnter": "off",
}
编辑:从vscode 1.27.0
"editor.autoClosingQuotes": "never", "editor.autoSurround": "never",// When the word is selected
我猜您可以像这样(keybindings.json
)来“键入”它们:
{
"key": "'",
"command": "editor.action.insertSnippet",
"args": {
"snippet": "'"
},
"when": "editorTextFocus && !editorReadonly"
},
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句