4 comments
Comment actions Permalink

In which exactly element type do you want to provide a reference?

0
Comment actions Permalink

Good question. PsiViever is not very helpfull in case of sql documents.
I think that I have to register reference provider for all com.intellij.psi.impl.source.tree.LeafPsiElement which have got language property set to "SQL" but mayby it will be suffiscient in my case if I could register reference provider for any element

0
Comment actions Permalink

Reference providers can be used to inject references only into elements which specifically support that. LeafPsiElement is not, and will never be, such an element. That's why I'm asking about a specific element type.

0
Comment actions Permalink

I'm aware that this thread is super old but it actually seems to work since version 2019.2.1 :)

0

Please sign in to leave a comment.