Attribute "order" with value "first" does not always work

Answered

I created the class "ActionParameterInfoHandler" which extends class "XmlParameterInfoHandler" and I typed value

<codeInsight.parameterInfo implementationClass="package.package.package.ActionParameterInfoHandler" order="first" language="XML" />

in plugin.xml in extensions.
After lunch of application "idea", the plugin does not always work because class "XmlParameterInfoHandler" comes first. My class comes first if restart "idea" several times. Do not know why this is happening? 

Thanks!

6 comments
Comment actions Permalink

Did you debug this in com.intellij.codeInsight.hint.ShowParameterInfoHandler#getHandlers? What is your IDE version?

1
Comment actions Permalink

Yes, I did debug the method. Please look attached image.

 

My "ActionParameterInfoHandler" must be to first position. IDE version -  2019.1.3 Community Edition

0
Comment actions Permalink

And this occurs in "plain" XML (non-HTML) files?

1
Comment actions Permalink

Thanks!

0

Please sign in to leave a comment.