Visual Studio Code user snippets not working

后端 未结 18 2057
遥遥无期
遥遥无期 2021-02-01 02:13

I\'ve enabled the default \"log\" snippet in VS Code. I also added another snippet. Neither show up when I type their prefixes. I have set editor.tabCompletion to t

18条回答
  •  不思量自难忘°
    2021-02-01 02:59

    My problem was that some snippets worked, and others dont. (like: JavaScript Snippets worked well)

    My issue solved when i installed a plugin that added the respective, specific filetype association (im my case: *.blade.php)

    When creating UserSnippets at blade.json it worked fine.

    1. Check your file extension and look if there's a plug-in suited for your file type.
    2. Install and try adding the snippet again.

提交回复
热议问题