Interface LanguageServerLifecycle

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default void initialize()
      The init is being called when the LSP is initializing.
      default void initialized()
      At this staged the LSP has been already initialized.
      default void shutdown()
      Called when the Language Server is being shutdown
    • Method Detail

      • initialize

        default void initialize()
        The init is being called when the LSP is initializing. At this stage the connection to the client has not yet been established and other component or services are not yet ready to be used. It is safe to register for events, but not to use other components at this moment. Each component needs to init its values at this moment.
      • initialized

        default void initialized()
        At this staged the LSP has been already initialized.
      • shutdown

        default void shutdown()
        Called when the Language Server is being shutdown