Interface WeaveLanguageServerBuilder


  • public interface WeaveLanguageServerBuilder
    • Method Detail

      • withId

        WeaveLanguageServerBuilder withId​(java.lang.String id)
        ID to identify the created builder. Used for logging reasons.
        Parameters:
        id - The ID to for this LS.
        Returns:
        this builder.
      • supportsCommands

        WeaveLanguageServerBuilder supportsCommands​(java.lang.Boolean commands)
        If the created LS should contribute with commands.
        Parameters:
        commands - whether the created LS should contribute with commands.
        Returns:
        this builder.
      • supportsCodeLenses

        WeaveLanguageServerBuilder supportsCodeLenses​(java.lang.Boolean codeLenses)
        If the created LS should contribute with code lenses.
        Parameters:
        codeLenses - whether the created LS should contribute with code lenses.
        Returns:
        this builder.
      • supportsCodeActions

        WeaveLanguageServerBuilder supportsCodeActions​(java.lang.Boolean codeActions)
        If the created LS should contribute with code actions.
        Parameters:
        codeActions - whether the created LS should contribute with code actions.
        Returns:
        this builder.
      • fileScheme

        WeaveLanguageServerBuilder fileScheme​(java.lang.String scheme)
        The file scheme that this language server will handle
        Parameters:
        scheme - The file schema
        Returns:
        this builder.
      • build

        org.eclipse.lsp4j.services.LanguageServer build()
        Builds the LS
        Returns:
        a new Language Server