GotoDeclarationAction.findAllTargetElements does not find elements in Rider 2019.1

已回答

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

0

Oh, I missed to answer. Thanks, that helps!

0

请先登录再写评论。