Modifier and Type | Field and Description |
---|---|
static LanguageServerContext.Key<BLangPackageContext> |
DocumentServiceKeys.B_LANG_PACKAGE_CONTEXT_KEY |
Constructor and Description |
---|
BallerinaTextDocumentService(BallerinaLanguageServer ballerinaLanguageServer,
WorkspaceDocumentManagerImpl workspaceDocumentManager,
BLangPackageContext packageContext) |
BallerinaWorkspaceService(BallerinaLanguageServer ballerinaLanguageServer,
WorkspaceDocumentManagerImpl workspaceDocumentManager,
BLangPackageContext packageContext) |
Modifier and Type | Field and Description |
---|---|
static LanguageServerContext.Key<BLangPackageContext> |
ExecuteCommandKeys.BALLERINA_PKG_CONTEXT_KEY |
Modifier and Type | Method and Description |
---|---|
static List<org.eclipse.lsp4j.Command> |
CommonUtil.getCommandsByDiagnostic(org.eclipse.lsp4j.Diagnostic diagnostic,
org.eclipse.lsp4j.CodeActionParams params,
WorkspaceDocumentManager documentManager,
BLangPackageContext pkgContext)
Get the command instances for a given diagnostic.
|
Modifier and Type | Method and Description |
---|---|
static List<org.eclipse.lsp4j.Location> |
DefinitionUtil.getDefinitionPosition(TextDocumentServiceContext definitionContext,
BLangPackageContext bLangPackageContext)
Get definition position for the given definition context.
|
Modifier and Type | Method and Description |
---|---|
static org.eclipse.lsp4j.Hover |
HoverUtil.getHoverContent(TextDocumentServiceContext hoverContext,
BLangPackage currentBLangPackage,
BLangPackageContext packageContext)
get current hover content.
|
Modifier and Type | Method and Description |
---|---|
static List<org.eclipse.lsp4j.Location> |
ReferenceUtil.getReferences(TextDocumentServiceContext referencesContext,
BLangPackageContext bLangPackageContext,
BLangPackage currentBLangPackage)
Get definition position for the given definition context.
|
Copyright © 2018 WSO2. All rights reserved.