Quick suggestions don't work while inside snippet placeholder

主宰稳场 提交于 2020-06-26 14:33:53

问题


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.

Snippet Not Working


回答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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!