Need CompletionVariant help
Does the CompletionVariant constructor parameter is completion dialog auto activation symbol?
What do the CompletionVariant.includeScopeClass() parameters mean? Seems, if first parameter is the LeafPsiElement.class then completion works in attribute values but doesn't complete tag names (because tag isn't leaf element). Am I right?
How completion work if plugin register two CompletionVariant's?
Please sign in to leave a comment.
Completion is not Open API. It is strongly recommended to use
meta/reference providers in order to do completion.
Alexei wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Do you mean the com.intellij.psi.impl.source.resolve.reference.PsiReferenceProvider interface?
Alexei wrote:
Yes, and ReferenceProviderRegistry.