Class LanguageServer
java.lang.Object
org.graalvm.tools.lsp.server.types.LanguageServer
- Direct Known Subclasses:
LanguageServerImpl
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic interfacestatic final class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCompletableFuture<List<? extends CodeAction>> codeAction(CodeActionParams params) CompletableFuture<List<? extends CodeLens>> codeLens(CodeLensParams params) completion(CompletionParams params) protected voidconnect(LanguageClient client) CompletableFuture<List<? extends Location>> CompletableFuture<List<? extends Location>> definition(TextDocumentPositionParams params) voiddidChange(DidChangeTextDocumentParams params) voidvoidvoidvoiddidClose(DidCloseTextDocumentParams params) voiddidOpen(DidOpenTextDocumentParams params) voiddidSave(DidSaveTextDocumentParams params) documentColor(DocumentColorParams params) CompletableFuture<List<? extends DocumentHighlight>> CompletableFuture<List<? extends DocumentLink>> documentLink(DocumentLinkParams params) CompletableFuture<List<? extends SymbolInformation>> documentSymbol(DocumentSymbolParams params) executeCommand(ExecuteCommandParams params) voidexit()CompletableFuture<List<? extends FoldingRange>> foldingRange(FoldingRangeParams params) CompletableFuture<List<? extends TextEdit>> formatting(DocumentFormattingParams params) hover(TextDocumentPositionParams params) CompletableFuture<List<? extends Location>> initialize(InitializeParams params) voidinitialized(InitializedParams params) CompletableFuture<List<? extends TextEdit>> CompletableFuture<List<? extends TextEdit>> CompletableFuture<List<? extends Location>> references(ReferenceParams params) rename(RenameParams params) resolveCodeLens(CodeLens unresolved) resolveCompletion(CompletionItem params) resolveDocumentLink(DocumentLink params) CompletableFuture<List<? extends SelectionRange>> selectionRange(SelectionRangeParams params) shutdown()protected booleansupportsMethod(String method, org.graalvm.shadowed.org.json.JSONObject params) CompletableFuture<List<? extends SymbolInformation>> symbol(WorkspaceSymbolParams params) CompletableFuture<List<? extends Location>> voidwillSave(WillSaveTextDocumentParams params) CompletableFuture<List<? extends TextEdit>>
-
Constructor Details
-
LanguageServer
public LanguageServer()
-
-
Method Details
-
initialize
-
initialized
-
shutdown
-
exit
public void exit() -
cancelProgress
-
didChangeWorkspaceFolders
-
didChangeConfiguration
-
didChangeWatchedFiles
-
symbol
-
executeCommand
-
didOpen
-
didChange
-
willSave
-
willSaveWaitUntil
public CompletableFuture<List<? extends TextEdit>> willSaveWaitUntil(WillSaveTextDocumentParams params) -
didSave
-
didClose
-
completion
-
resolveCompletion
-
hover
-
signatureHelp
-
declaration
-
definition
-
typeDefinition
public CompletableFuture<List<? extends Location>> typeDefinition(TextDocumentPositionParams params) -
implementation
public CompletableFuture<List<? extends Location>> implementation(TextDocumentPositionParams params) -
references
-
documentHighlight
public CompletableFuture<List<? extends DocumentHighlight>> documentHighlight(TextDocumentPositionParams params) -
documentSymbol
public CompletableFuture<List<? extends SymbolInformation>> documentSymbol(DocumentSymbolParams params) -
codeAction
-
codeLens
-
resolveCodeLens
-
documentLink
-
resolveDocumentLink
-
documentColor
-
colorPresentation
-
formatting
-
rangeFormatting
public CompletableFuture<List<? extends TextEdit>> rangeFormatting(DocumentRangeFormattingParams params) -
onTypeFormatting
public CompletableFuture<List<? extends TextEdit>> onTypeFormatting(DocumentOnTypeFormattingParams params) -
rename
-
prepareRename
-
foldingRange
-
selectionRange
public CompletableFuture<List<? extends SelectionRange>> selectionRange(SelectionRangeParams params) -
connect
-
supportsMethod
-
getLogger
-