How to syntax highlighting for ejs file in netbeans

后端 未结 1 770
走了就别回头了
走了就别回头了 2021-02-18 23:07

I have been working in netbeans IDE since long time and recently started coding in NodeJs but there is no highlight code for ejs file. How to rid from this problem.

1条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-19 00:04

    You need to configure ejs file extension with some associative file type. Steps:-

    • Go to Tools -> Options
    • Click on Miscellaneous Tab then Files tab
    • click the "New" button
    • Type your desire extension without the dot(e.g, ejs).
    • Select the appropriate file type from the "Associated file type (MIME)" drop down box. e.g, HTML Files(tex/html)
    • Click "OK" and you are done

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