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

0
3 comments
Official comment

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.

0
Avatar
Permanently deleted user

Oh, I haven't seen the sentence

> The Go to Declaration action 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.

0

Please sign in to leave a comment.