问题
Summary:
As you can see in the gif file below, suggestions show up as we type sysout
when not inside any snippet placeholder, otherwise, they don't show up.
Already tried:
I looked on GitHub issues and filed a GitHub issue.
回答1:
Microsoft support was on it quickly: 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
" was their reply.
So basically, editor.suggest.snippetsPreventQuickSuggestions
need to be set to false in settings.json
来源:https://stackoverflow.com/questions/55855330/quick-suggestions-dont-work-while-inside-snippet-placeholder