how do i get eclipse to interpret .ejs files as .html?

后端 未结 3 597
迷失自我
迷失自我 2021-02-13 00:59

i recently started on a node project and two of the modules i\'m using is express and EJS. but default i usually use eclipse as my IDE, it works well for java and decent for htm

3条回答
  •  再見小時候
    2021-02-13 01:35

    For a specific file, try right-click, Open With -> Other... -> HTML editor. You can also set the file association globally under Window -> Preferences -> General -> Editors -> File Associations.

    On a Mac, the global setting is under Mac Option -> Preferences and all the same options.

提交回复
热议问题