How to syntax highlighting for ejs file in netbeans

泄露秘密 提交于 2019-12-21 06:58:19

问题


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:


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


来源:https://stackoverflow.com/questions/32218403/how-to-syntax-highlighting-for-ejs-file-in-netbeans

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!