syntax-highlightingwebstormtextmatebundles

WebStorm and PHP syntax highlighting in WebStorm


I have WebStorm and really like it. I don't use PHP very often, but I'm working on a project that uses it...

So, I'm trying to get basic syntax highlighting in WebStorm.

I've tried using this plugin already (incompatible):

http://plugins.jetbrains.com/plugin/6610

And I've followed the steps in these threads:

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

Is it possible to get Ruby syntax highlighting in PHPStorm?

I am using this textmate bundle:

https://github.com/textmate/php.tmbundle

It's being recognized by WebStorm, and the proper files are being associated with TextMate bundles, yet I still have no syntax highlighting.

At this point, I've just written all the stuff without the highlighting, but it seems a bit ridicules that I cannot get it to work.

I sent an email to technical support, and they just pointed me back to those resources and then suggested that I buy PHPStorm. And the IDE keeps suggesting that I buy IntelliJ IDEA Ultimate.

Has anybody else run into this problem?


Solution

  • https://github.com/textmate/php.tmbundle bundle uses non-documented 'injection' - feature that's not currently supported - thus no highlighting is actually recognized. See RUBY-14273