I have a PsiReference implementation which returns an array of PsiClass
objects from getVariants(). However, invoking Basic Completion inside
the PsiReference just shows the "No suggestions" popup.
I've tried an implementation of getVariants() which uses
SearchHelper.processAllClasses() to get a list of the PsiClass elements
which match the reference's text (terminated at 'IntellijIdeaRulezzz').
I've also tried an implementation of getVariants() which just returns
the result of SearchHelper.findAllClasses(refElement.getResolveScope()).
Gordon Tyler (Software Developer)
Quest Software <http://www.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: (416) 933-5046 | Fax: (416) 933-5001