This is related to plugin which is built over the python plugin. This plugin defines some new keywords/methods. sub-class of PsiReferenceProvider provides references to the newly defined keywords/methods. I've registered the above reference provider using PsiReferenceRegistrar.registerReferenceProvider(PlatformPatterns.psiElement(PyReferenceExpression.class), provider);
getReferencesByElement() of reference provider is not getting called [ here is the function signature: @Override public @NotNull PsiReference getReferencesByElement(@NotNull PsiElement element, @NotNull final ProcessingContext context) ]
The reference is of type PsiReferenceEx (PsiTree : pyCallExpression)
The above setup used to work with Intellij 7; and its not working with Intellij 9. Any idea what might have caused this change? Any suggestions on fixing this issue?
Let me know if you need more information.