Is there a way to make Visual Studio Code recognize HTML syntax in EJS files

后端 未结 7 1735
被撕碎了的回忆
被撕碎了的回忆 2021-01-31 07:20

I am using Visual Studio Code on a Mac to work on Node.js applications.

Is there a way to make Visual Studio Code recognize EJS files as HTML markup? I didn\'t see any

相关标签:
7条回答
  • 2021-01-31 07:45

    The new release, allow us add textmate snippets:
    https://code.visualstudio.com/updates#_add-textmate-snippets
    maybe we can add this one for ejs support:
    https://github.com/gregory-m/ejs-tmbundle/blob/master/Syntaxes/JavaScript%20Template.tmLanguage

    0 讨论(0)
提交回复
热议问题