Visual Studio Code user snippets not working

后端 未结 18 2052
遥遥无期
遥遥无期 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 03:04

    For react with typescript, I had to specifically add 'typescriptreact' to the scope.

     "scope": "javascript, typescript, typescriptreact"
    

提交回复
热议问题