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!

0
6 comments

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

1
Avatar
Permanently deleted user

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

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

1
Avatar
Permanently deleted user

Yes.

0
Avatar
Permanently deleted user

Thanks!

0

Please sign in to leave a comment.