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

后端 未结 3 598
迷失自我
迷失自我 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:29

    As an addendum to rlegendi's answer, if you'd also like the proper html coloring, you need to go to "Content Types" (right above "Editors" in the Preferences). From here, select Text -> HTML and click on "Add..", including .ejs

提交回复
热议问题