multiResolve() doesn't allow the user to choose a navigation target
According to http://www.jetbrains.org/intellij/sdk/docs/reference_guide/custom_language_support/references_and_resolve.html
"An extension of the PsiReference interface, which allows a reference to resolve to multiple targets, is the PsiPolyVariantReference interface. The targets to which the reference resolves are returned from the multiResolve() method. The Go to Declaration action for such references allows the user to choose a navigation target."
I implemented multiResolve() but didn't see the options that are returned from the multiResolve() method. Is there any other place that I should take care of? Thanks!
Please sign in to leave a comment.
does your multiresolve return multiple results?
Of course.
.. and no options popup appears when you click on an element and multiple results are returned?
Correct.
do the elements returned by multiResolve implement
?
Yes
I have this same problem, I haven't had time to investigate it yet. I never seem to get the popup when a symbol resolves to multiple targets.
Please post/link a sample to reproduce.