public interface PlainTextSymbolCompletionContributor
PlainTextSymbolCompletionContributorEP
Modifier and Type | Method and Description |
---|---|
java.util.Collection<LookupElement> |
getLookupElements(PsiFile file,
int invocationCount,
java.lang.String prefix)
Adds lookup elements from given file.
|
java.util.Collection<LookupElement> getLookupElements(PsiFile file, int invocationCount, java.lang.String prefix)
file
- file to add elements from.invocationCount
- number of times the completion was invoked (see CompletionParameters.getInvocationCount()
).prefix
- a prefix string. It's not required to return only matches starting with prefix, but this may be used to improve
performance.LookupElement
's to suggest.