在代码段占位符内时,快速建议不起作用
Quick suggestions don't work while inside snippet placeholder
总结:
正如您在下面的 gif 文件中看到的那样,当我们键入 sysout
时,如果不在任何代码段占位符内,建议就会显示,否则它们不会显示。
已经尝试过:
我查看了 GitHub 个问题并提交了 GitHub 个问题。
Microsoft 支持很快:https://github.com/Microsoft/vscode/issues/72582
"Quick suggestions and snippet placeholder often collide and by default quick suggestions are disabled when snippet mode is active. This setting controls that behaviour: editor.suggest.snippetsPreventQuickSuggestions
" 是他们的回复。
所以基本上,editor.suggest.snippetsPreventQuickSuggestions
需要在settings.json
中设置为false
总结:
正如您在下面的 gif 文件中看到的那样,当我们键入 sysout
时,如果不在任何代码段占位符内,建议就会显示,否则它们不会显示。
已经尝试过:
我查看了 GitHub 个问题并提交了 GitHub 个问题。
Microsoft 支持很快:https://github.com/Microsoft/vscode/issues/72582
"Quick suggestions and snippet placeholder often collide and by default quick suggestions are disabled when snippet mode is active. This setting controls that behaviour: editor.suggest.snippetsPreventQuickSuggestions
" 是他们的回复。
所以基本上,editor.suggest.snippetsPreventQuickSuggestions
需要在settings.json