Using CakePHP to write code, usually *.ctp files contains PHP, HTML and JavaScript code. Unfortunately PhpStorm recognize PHP and HTML only:
Of course if I edit a JavaScript-only file (.js) the highlight and autocompletion work.
I tried to follow this answer, but I cannot assign the same extension to multiple languages.
How to edit all the three languages in PhpStorm?