PHPStorm 6 API

One of the flagship features of PHPStorm 6 was that it finally came with support for PHP language feature plugin hooks, but from what I've been able to find (here) there is no documentation currently available, which I understand, but can anyone at least point me in the direction of where in the heck this API can even be found? I tried looking all through the com.intellij libraries but couldn't locate any of the language libraries (aside from HTML, javascript, etc... the globally shared ones), let alone the PHP one. If someone can just tell me what to include in my project and what packages to start digging through, I can probably figure it out from there.

4 comments

Would also love to know where to start digging as well. Probably won't take much to get started, and not asking for a huge documentation set yet, just need to be pointed in the right direction to get going.

0

Well for a start you need to get understanding of how plugins are created and what's possible.
See http://www.jetbrains.com/idea/plugins/ "Information for Plugin Developers" part - Webinars, Doc sections.
Thera are hundreds of useful extension points.

ATM we provide php-openapi.jar with the IDE.
It contains interfaces for entire PHP PSI to be used for your plugs into all that EPs.
PHP specific EPs (i.e. for type inference engine) will be published along with docs soon.

0

That .jar looks like the link I was missing. I was expecting it to be part of the core IntelliJ library, which I suppose was foolish in hindsight. Thanks!     

0

We're working on tutorials and straightening things out, stay tuned.

0

Please sign in to leave a comment.