Packages

p

org.mulesoft.lsp

configuration

package configuration

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. case class ClientCapabilities (workspace: Option[WorkspaceClientCapabilities] = None, textDocument: Option[TextDocumentClientCapabilities] = None, experimental: Option[AnyRef] = None) extends Product with Serializable

    ClientCapabilities now define capabilities for dynamic registration, workspace and text document features the client supports.

    ClientCapabilities now define capabilities for dynamic registration, workspace and text document features the client supports. The experimental can be used to pass experimental capabilities under development. For future compatibility a ClientCapabilities object literal can have more properties set than currently defined. Servers receiving a ClientCapabilities object literal with unknown properties should ignore these properties. A missing property should be interpreted as an absence of the capability. If a missing property normally defines sub properties, all missing sub properties should be interpreted as an absence of the corresponding capability.

    workspace

    Workspace specific client capabilities.

    textDocument

    Text document specific client capabilities.

    experimental

    Experimental client capabilities.

  2. class InitializeParams extends AnyRef

    The initialize request is sent as the first request from the client to the server.

    The initialize request is sent as the first request from the client to the server. If the server receives a request or notification before the initialize request it should act as follows:

    For a request the response should be an error with code: -32002. The message can be picked by the server. Notifications should be dropped, except for the exit notification. This will allow the exit of a server without an initialize request. Until the server has responded to the initialize request with an InitializeResult, the client must not send any additional requests or notifications to the server. In addition the server is not allowed to send any requests or notifications to the client until it has responded with an InitializeResult, with the exception that during the initialize request the server is allowed to send the notifications window/showMessage, window/logMessage and telemetry/event as well as the window/showMessageRequest request to the client.

    The initialize request may only be sent once.

    Request:

    method: ‘initialize’ params: InitializeParams defined as follows:

  3. case class InitializeResult (capabilities: ServerCapabilities) extends Product with Serializable

    capabilities

    The capabilities the language server provides.

  4. case class ServerCapabilities (textDocumentSync: Option[Either[TextDocumentSyncKind, TextDocumentSyncOptions]] = None, completionProvider: Option[CompletionOptions] = None, definitionProvider: Boolean = false, referencesProvider: Boolean = false, documentSymbolProvider: Boolean = false, renameProvider: Option[RenameOptions] = None, experimental: Option[AnyRef] = None) extends Product with Serializable

    textDocumentSync

    Defines how text documents are synced. Is either a detailed structure defining each notification or for backwards compatibility the TextDocumentSyncKind number. If omitted it defaults to TextDocumentSyncKind.None.

    completionProvider

    The server provides completion support.

    definitionProvider

    The server provides goto definition support.

    referencesProvider

    The server provides find references support.

    documentSymbolProvider

    The server provides document symbol support.

    renameProvider

    The server provides rename support. RenameOptions may only be specified if the client states that it supports prepareSupport in its initial initialize request.

    experimental

    Experimental server capabilities.

  5. case class StaticRegistrationOptions (id: Option[String]) extends Product with Serializable

    Static registration options to be returned in the initialize request.

    Static registration options to be returned in the initialize request.

    id

    The id used to register the request. The id can be used to deregister the request again. See also Registration#id.

  6. case class TextDocumentClientCapabilities (synchronization: Option[SynchronizationClientCapabilities] = None, publishDiagnostics: Option[DiagnosticClientCapabilities] = None, completion: Option[CompletionClientCapabilities] = None, references: Option[ReferenceClientCapabilities] = None, documentSymbol: Option[DocumentSymbolClientCapabilities] = None, definition: Option[DefinitionClientCapabilities] = None, rename: Option[RenameClientCapabilities] = None) extends Product with Serializable

    Text document specific client capabilities.

  7. case class WorkspaceClientCapabilities () extends Product with Serializable
  8. case class WorkspaceFolder (uri: Option[String], name: Option[String]) extends Product with Serializable

    uri

    The associated URI for this workspace folder.

    name

    The name of the workspace folder. Used to refer to this workspace folder in the user interface.

Value Members

  1. object InitializeParams
  2. object InitializeResult extends Serializable
  3. object ServerCapabilities extends Serializable
  4. object TraceKind extends Enumeration with Product with Serializable

Ungrouped