There is a JetBrains-supported IntelliJ plugin for EJS that you want. It is available on the Plugins tab in Settings using the Repository Repository. It is also available for PHPStorm / Webstorm / RubyMine / PyCharm IntelliJ derivatives. It works very well, it has some minor glitches, as it is still at an early stage of development and will definitely do what you are looking for.
Kris Erickson
source share