パッケージ org.unlaxer.lsp

クラス TestLanguageServerImp

  • すべての実装されたインタフェース:
    org.eclipse.lsp4j.services.LanguageServer

    public class TestLanguageServerImp
    extends java.lang.Object
    implements org.eclipse.lsp4j.services.LanguageServer
    • コンストラクタの概要

      コンストラクタ 
      コンストラクタ 説明
      TestLanguageServerImp()  
    • メソッドの概要

      すべてのメソッド インスタンス・メソッド concreteメソッド 
      修飾子とタイプ メソッド 説明
      void exit()
      A notification to ask the server to exit its process.
      org.eclipse.lsp4j.services.TextDocumentService getTextDocumentService()
      Provides access to the textDocument services.
      org.eclipse.lsp4j.services.WorkspaceService getWorkspaceService()
      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.
      • クラスから継承されたメソッド java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • インタフェースから継承されたメソッド org.eclipse.lsp4j.services.LanguageServer

        initialized, initialized
    • コンストラクタの詳細

      • TestLanguageServerImp

        public TestLanguageServerImp()
    • メソッドの詳細

      • initialize

        public java.util.concurrent.CompletableFuture<org.eclipse.lsp4j.InitializeResult> initialize​(org.eclipse.lsp4j.InitializeParams params)
        インタフェースからコピーされた説明: org.eclipse.lsp4j.services.LanguageServer
        The 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.LanguageServer
        The 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.LanguageServer
        A 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.LanguageServer
        Provides access to the textDocument services.
        定義:
        getTextDocumentService インタフェース内 org.eclipse.lsp4j.services.LanguageServer
      • getWorkspaceService

        public org.eclipse.lsp4j.services.WorkspaceService getWorkspaceService()
        インタフェースからコピーされた説明: org.eclipse.lsp4j.services.LanguageServer
        Provides access to the workspace services.
        定義:
        getWorkspaceService インタフェース内 org.eclipse.lsp4j.services.LanguageServer