public interface LanguageServer
Modifier and Type | Method and Description |
---|---|
default void |
cancelProgress(WorkDoneProgressCancelParams params)
This notification is sent from the client to the server to cancel a progress initiated on the server side.
|
void |
exit()
A notification to ask the server to exit its process.
|
TextDocumentService |
getTextDocumentService()
Provides access to the textDocument services.
|
WorkspaceService |
getWorkspaceService()
Provides access to the workspace services.
|
java.util.concurrent.CompletableFuture<InitializeResult> |
initialize(InitializeParams params)
The initialize request is sent as the first request from the client to
the server.
|
default void |
initialized()
Deprecated.
see initialized(InitializedParams)
|
default void |
initialized(InitializedParams params)
The initialized notification is sent from the client to the server after
the client received the result of the initialize request but before the
client is sending any other request or notification to the server.
|
java.util.concurrent.CompletableFuture<java.lang.Object> |
shutdown()
The shutdown request is sent from the client to the server.
|
java.util.concurrent.CompletableFuture<InitializeResult> initialize(InitializeParams params)
default void initialized(InitializedParams params)
@Deprecated default void initialized()
java.util.concurrent.CompletableFuture<java.lang.Object> shutdown()
void exit()
TextDocumentService getTextDocumentService()
WorkspaceService getWorkspaceService()
default void cancelProgress(WorkDoneProgressCancelParams params)