public interface ICompletionResponse
Modifier and Type | Method and Description |
---|---|
void |
addCompletionAttribute(org.eclipse.lsp4j.CompletionItem item)
Add completion attribute.
|
void |
addCompletionItem(org.eclipse.lsp4j.CompletionItem completionItem)
Add completion item.
|
void |
addCompletionItem(org.eclipse.lsp4j.CompletionItem completionItem,
boolean comingFromGrammar)
Add completion item and mark as coming from grammar.
|
boolean |
hasAttribute(String attribute) |
boolean |
hasSomeItemFromGrammar()
Returns
true if there are completion items coming from grammar
and false otherwise. |
void addCompletionItem(org.eclipse.lsp4j.CompletionItem completionItem, boolean comingFromGrammar)
completionItem
- comingFromGrammar
- void addCompletionItem(org.eclipse.lsp4j.CompletionItem completionItem)
completionItem
- boolean hasAttribute(String attribute)
void addCompletionAttribute(org.eclipse.lsp4j.CompletionItem item)
item
- boolean hasSomeItemFromGrammar()
true
if there are completion items coming from grammar
and false otherwise.true
if there are completion items coming from grammar
and false otherwise.Copyright © 2022. All rights reserved.