FileReferenceSet changed?

Now I use com.intellij.psi.impl.source.resolve.reference.impl.providers.FileReferenceSet for file reference, and I found following method absent.
protected PsiScopeProcessor createProcessor(final List candidateInfos, List classes, List]]> psiConflictResolvers) throws ProcessorRegistry.IncompatibleReferenceTypeException;
Any idea?

3 comments
Comment actions Permalink

Now I use com.intellij.psi.impl.source.resolve.reference.impl.providers.FileReferenceSet for file reference, and I found following method absent.
protected PsiScopeProcessor createProcessor(final List<CandidateInfo> candidateInfos, List<Class> classes, List<PsiConflictResolver> psiConflictResolvers) throws ProcessorRegistry.IncompatibleReferenceTypeException;
Any idea?


This method has been removed in Diana. What do you need it for?

0
Comment actions Permalink

I want to implement code completion for special type files under a directory. Such as code completion for vm file in 'foobar' directory. How to implement this feature now in Diana?

0
Comment actions Permalink

I want to implement code completion for special type files under a directory. Such as code completion for vm file in 'foobar' directory. How to implement this feature now in Diana?


A user-friendly way would be to resolve all files, highlight non-vm
files and complete only vm-files. So it's usual FileReferenceSet, a
special inspection and a filtering CompletionContributor.

0

Please sign in to leave a comment.