VS Code Intellisense don't suggest snippet at first

后端 未结 4 1340
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-31 07:52

I want to use code snippets in VSCode. But when I type, for example, for in javascript file, the Intellisense doesn\'t suggest snippet \"for-loop\" - I need to manu

4条回答
  •  不知归路
    2021-01-31 08:40

    There is one more way to deal with this issue by setting "editor.tabCompletion": true, that way whenever there is a snnipet available it will use it automatically without even opening the list by using tab twice.

    1. File > Preferences > Settings (Code > Preferences > Settings on Mac)
    2. open "Editor" menu on the left
    3. edit "editor.tabCompletion": true

    more info: https://code.visualstudio.com/docs/editor/intellisense#_customizing-intellisense

提交回复
热议问题