roy*_*ce3 14 visual-studio-code
如何禁用自动引用功能?
当我按下'或'键时,我不想让它自动在任何地方插入另一个.无论它们多么聪明,它只是让我觉得"不可预测"并分散了我的注意力.做.
我输入的速度超过100,我真的不需要帮助击中'或'键.
我尝试了以下设置,但没有一个禁用此不良行为:
{
"editor.autoClosingBrackets": false,
"editor.wordWrap": "off",
"html.autoClosingTags": false,
"editor.formatOnType": false,
"editor.suggestOnTriggerCharacters": false,
"editor.acceptSuggestionOnEnter": "off",
}
Run Code Online (Sandbox Code Playgroud)
Dav*_*aun 17
把它放在你的用户设置中:
"editor.autoClosingQuotes": "never"
Run Code Online (Sandbox Code Playgroud)
小智 14
这是一个 GUI-如何更改它:
Strg + ,或用鼠标导航File | Settingseditor.autoClosingQuotes到想要的never编辑:从vscode 1.27.0
Run Code Online (Sandbox Code Playgroud)"editor.autoClosingQuotes": "never", "editor.autoSurround": "never",// When the word is selected
我猜您可以像这样(keybindings.json)来“键入”它们:
{
"key": "'",
"command": "editor.action.insertSnippet",
"args": {
"snippet": "'"
},
"when": "editorTextFocus && !editorReadonly"
},
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2553 次 |
| 最近记录: |