Autocomplete for "class " doesn't work in PHPStorm when I change dependencies

I found another weird problem, and I'm really lost with this one:
I have a codecompletion contributor which is adding autocomplete for class names:

When I use this dependencies in my plugin.xml

<depends>com.intellij.modules.lang</depends>


Everything works as expected

But when I add this dependency:

<depends>com.jetbrains.php</depends>


The completion contributor is not fired anymore (when using Ctrl+Space after the "class " word, but is working in all the other situations, even after the "extends " word...).

Please could you help me to solve this? why my completion contributor is not executed when I have the com.jetbrains.php dependency? (maybe it has its own completion contributor and is stopping it before mine is executed?)
Also, the com.jetbrains.php dependency is the cause for the weird sorting in autocomplete list: http://devnet.jetbrains.com/message/5485341#5485341

3 comments

Please I need help with this, I can't upload the new update because if I add the new features (I need com.jetbrains.com for them), then the code completion for the class name doesn't work anymore.

0

Someone seems to call com.intellij.codeInsight.completion.CompletionResultSet#stopHere, there are plenty of PHP completion contributors doing so. Please try adding order="first" to your completion contributor extension declaration in plugin.xml.

0

Yes I found that yesterday debugging the code, and I've solved it using order="first" ;)

0

Please sign in to leave a comment.