パッケージ org.unlaxer.lsp
クラス TestLanguageServerImp
- java.lang.Object
-
- org.unlaxer.lsp.TestLanguageServerImp
-
- すべての実装されたインタフェース:
org.eclipse.lsp4j.services.LanguageServer
public class TestLanguageServerImp extends java.lang.Object implements org.eclipse.lsp4j.services.LanguageServer
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 TestLanguageServerImp()
-
メソッドの概要
すべてのメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 voidexit()A notification to ask the server to exit its process.org.eclipse.lsp4j.services.TextDocumentServicegetTextDocumentService()Provides access to the textDocument services.org.eclipse.lsp4j.services.WorkspaceServicegetWorkspaceService()Provides access to the workspace services.java.util.concurrent.CompletableFuture<org.eclipse.lsp4j.InitializeResult>initialize(org.eclipse.lsp4j.InitializeParams params)The initialize request is sent as the first request from the client to the server.java.util.concurrent.CompletableFuture<java.lang.Object>shutdown()The shutdown request is sent from the client to the server.
-
-
-
メソッドの詳細
-
initialize
public java.util.concurrent.CompletableFuture<org.eclipse.lsp4j.InitializeResult> initialize(org.eclipse.lsp4j.InitializeParams params)
インタフェースからコピーされた説明:org.eclipse.lsp4j.services.LanguageServerThe initialize request is sent as the first request from the client to the server. If the server receives request or notification before the initialize request it should act as follows: - for a request the respond should be errored with code: -32001. The message can be picked by the server. - notifications should be dropped, except for the exit notification. This will allow the exit a server without an initialize request. Until the server has responded to the initialize request with an InitializeResult the client must not sent any additional requests or notifications to the server. During the initialize request the server is allowed to sent the notifications window/showMessage, window/logMessage and telemetry/event as well as the window/showMessageRequest request to the client.- 定義:
initializeインタフェース内org.eclipse.lsp4j.services.LanguageServer
-
shutdown
public java.util.concurrent.CompletableFuture<java.lang.Object> shutdown()
インタフェースからコピーされた説明:org.eclipse.lsp4j.services.LanguageServerThe shutdown request is sent from the client to the server. It asks the server to shutdown, but to not exit (otherwise the response might not be delivered correctly to the client). There is a separate exit notification that asks the server to exit.- 定義:
shutdownインタフェース内org.eclipse.lsp4j.services.LanguageServer
-
exit
public void exit()
インタフェースからコピーされた説明:org.eclipse.lsp4j.services.LanguageServerA notification to ask the server to exit its process.- 定義:
exitインタフェース内org.eclipse.lsp4j.services.LanguageServer
-
getTextDocumentService
public org.eclipse.lsp4j.services.TextDocumentService getTextDocumentService()
インタフェースからコピーされた説明:org.eclipse.lsp4j.services.LanguageServerProvides access to the textDocument services.- 定義:
getTextDocumentServiceインタフェース内org.eclipse.lsp4j.services.LanguageServer
-
getWorkspaceService
public org.eclipse.lsp4j.services.WorkspaceService getWorkspaceService()
インタフェースからコピーされた説明:org.eclipse.lsp4j.services.LanguageServerProvides access to the workspace services.- 定義:
getWorkspaceServiceインタフェース内org.eclipse.lsp4j.services.LanguageServer
-
-