How to get PhpStorm to recognize another language start tag

I'm working on a project in CakePHP and in the view, we put our javascript between append and end tags so it all winds up in the correct spot when the page is rendered.  Problem is, PhpStorm doesn't recognize it as javascript unless it falls between <script></script> tags.

Is there any way to get PhpStorm to recognize -additional- start/stop tags so I can stop pasting code in between <script></script> just for the syntax highlighting?

2 comments

Hi there,

http://devnet.jetbrains.com/thread/441317

You can try this, but I doubt it will work in PhpStorm (or rather in PHP files).

0

Please sign in to leave a comment.