最近我遇到了 vscode 自动完成的问题。
它基本上会在按 Enter 后禁用自动完成功能,我必须按 Control+Space 才能显示自动完成功能并选择如下所示的一个:
我期望的行为是在按下Enter后,当我开始输入时,自动完成功能会出现并检查我的输入以找到我想要选择的最佳内容。
如何在输入 vscode 时按 Enter 后启用自动完成功能?
最佳答案
editor.quickSuggestions
能解决您的问题吗?
// Controls whether suggestions should automatically show up while typing.
"editor.quickSuggestions": {
"other": "on",
"comments": "off",
"strings": "off"
},
// Controls the delay in milliseconds after which quick suggestions will show up.
"editor.quickSuggestionsDelay": 10,
还可能值得检查您是否将 editor.suggestOnTriggerCharacters
设置为 false
并查看切换时行为是否发生变化。触发字符是类似 .
关于javascript - 禁用 VSCode 自动完成花括号,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/73597280/