public class CompletionUtil extends Object
Constructor and Description |
---|
CompletionUtil() |
Modifier and Type | Method and Description |
---|---|
static List<org.eclipse.lsp4j.CompletionItem> |
getCompletionItems(LSServiceOperationContext completionContext)
Get the completion Items for the context.
|
static void |
resolveSymbols(LSServiceOperationContext completionContext,
BLangPackage bLangPackage)
Resolve the visible symbols from the given BLang Package and the current context.
|
public static void resolveSymbols(LSServiceOperationContext completionContext, BLangPackage bLangPackage)
completionContext
- Completion Service ContextbLangPackage
- BLang Packagepublic static List<org.eclipse.lsp4j.CompletionItem> getCompletionItems(LSServiceOperationContext completionContext)
completionContext
- Completion contextList
List of resolved completion ItemsCopyright © 2018 WSO2. All rights reserved.