Attribute "order" with value "first" does not always work
已回答
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!
请先登录再写评论。
Did you debug this in com.intellij.codeInsight.hint.ShowParameterInfoHandler#getHandlers? What is your IDE version?
Yes, I did debug the method. Please look attached image.
My "ActionParameterInfoHandler" must be to first position. IDE version - 2019.1.3 Community Edition
And this occurs in "plain" XML (non-HTML) files?
Yes.
Got it - indeed a bug, please watch https://youtrack.jetbrains.com/issue/IDEA-216354
Thanks!