GotoDeclarationAction.findAllTargetElements does not find elements in Rider 2019.1 Follow
Answered
I'm using
public static PsiElement[] GotoDeclarationAction.findAllTargetElements(Project project, Editor editor, int offset)
to find a PsiElement for a GoTo-action. This works for IntelliJ, PyCharm, PhpStorm, AppCode, ... except for Rider. I tried the alternative
TargetElementUtil.getInstance().findTargetElement
but it doesn't return a result either.
Any idea what the appropriate call for Rider is?
Thanks in advance,
Hendrik
Please sign in to leave a comment.
Please note that for Rider, all PSI-related functionality must be implemented in backend, see https://www.jetbrains.org/intellij/sdk/docs/intro/intellij_platform.html#rider and https://www.jetbrains.org/intellij/sdk/docs/products/rider.html
Oh, I missed to answer. Thanks, that helps!