Search code examples
idephpstormwebstorm

Webstorm: how to extend to handle PHP files or even just highlight code correctly?


I tried this IDE and I like it. Only problem is that if Im in a project that has some PHP in it, its confusing to see plain black text instead of correct PHP highlight.

I dont need brutal PHP autocomplete or so, but a syntax highlight. Is it possible to achieve in Webstorm?

Or the only option is to use PHPStorm?


Solution

  • UPDATE: since TextMate bundles support was added to the IDE, you can add any language syntax highlighting to the IDE if there is TextMate bundle for it. See my reply about adding Ruby highlighting, it would be the same for PHP, just the different bundle.


    Your best option is to use PhpStorm. Another option is to create your custom file type for basic syntax highlighting.