Skip to end of metadata
Go to start of metadata

  • No labels


  1. Anonymous

    For the reference provider to work, you need to override the getReferences() method on the PsiElement. This is mentioned in the header comment of com.intellij.psi.PsiReferenceProvider

        public PsiReference[] getReferences()

    Unknown macro: {        return ReferenceProvidersRegistry.getReferencesFromProviders(this);    }
    1. Works for me without any changes.

  2. Anonymous

    Do I create a new class that derives from PsiElement and then override the getReferences() method? Do I then to register this somewhere?