VS Code Intellisense don't suggest snippet at first

后端 未结 4 1329
爱一瞬间的悲伤
爱一瞬间的悲伤 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:45

    Now that VS Code mostly abstracted away the settings.json file, you can do the instructions shown by Kavu, with this bonus tip:

    • go to Preferences > Settings

    • find the Search settings text input, at the top

    • type in "snippet"

    The setting should be at the top of the result set:

提交回复
热议问题