Where is the GotoImplementations extension point?
Hi,
when browsing through the extension points, I noticed that the GotoImplementations EP is somehow missing:

The problem is, that I need a Goto Provider that allows for multiple targets (and I already used gotoRelatedProvider). In fact, since in Mathematica there is no real declaration point (the first instance a variable is mentioned it is "declared" and finds its way into the symbol table), the gotoImplementations provider is exactly what I need.
Is there a way to use this in a custom language?
Cheers
Patrick
请先登录再写评论。
For Go To Implementation, "definitionsScopedSearch" extension point is queried. See com.intellij.codeInsight.navigation.ClassImplementationsSearch as an example.
Hello, Patrick,
there is an extension point for 'Go to implementation' (overridingMethodsSearch) but the whole override/implement concept is java-specific so probably it shouldn't be used from your plugin.
You can try implementing multiResolve for your references instead.
Oh, I haven't seen the sentence
> The
Go to Declarationaction for such references allows the user to choose a navigation target.for PsiPolyVariantReference until now. Thanks, this indeed looks like a promising way because now, I'm always referencing to the first found definition of a function.