Editing EJS templates (express.js, underscore.js, can.js)

WHITECOLOR picture WHITECOLOR · Sep 26, 2012 · Viewed 7k times · Source

What IDE do you use to edit EJS templates which are standard templating languages for example for can.js, express.js, underscore.js

I'm waiting for supporting EJS in JetBrains WebStorm IDE (BTW who are interested may vote http://youtrack.jetbrains.com/issue/WI-6800)

I wonder is there other IDEs supporting syntax?

Answer

Newbie picture Newbie · Mar 21, 2013

as a workaround you can get Jetbrains to associate .ejs files with html by using the settings menu.

File->Settings->File Types->Recognized File Types { Look for HTML and add *.ejs in the section for registered patterns}