package configuration
- Alphabetic
- Public
- All
Type Members
-
case class
AlsClientCapabilities(workspace: Option[WorkspaceClientCapabilities] = None, textDocument: Option[TextDocumentClientCapabilities] = None, experimental: Option[AnyRef] = None, serialization: Option[SerializationClientCapabilities] = None, cleanDiagnosticTree: Option[CleanDiagnosticTreeClientCapabilities] = None, fileUsage: Option[FileUsageClientCapabilities] = None, conversion: Option[ConversionClientCapabilities] = None, renameFileAction: Option[RenameFileActionClientCapabilities] = 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.
- serialization
If the client supports serialization notifications
- cleanDiagnosticTree
If the client wantst to enable request of clean validations
-
class
AlsInitializeParams 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:
-
case class
AlsInitializeResult(capabilities: AlsServerCapabilities) extends Product with Serializable
- capabilities
The capabilities the language server provides.
-
case class
AlsServerCapabilities(textDocumentSync: Option[Either[TextDocumentSyncKind, TextDocumentSyncOptions]] = None, completionProvider: Option[CompletionOptions] = None, definitionProvider: Boolean = false, implementationProvider: Option[Either[Boolean, StaticRegistrationOptions]] = None, typeDefinitionProvider: Option[Either[Boolean, StaticRegistrationOptions]] = None, referencesProvider: Boolean = false, documentSymbolProvider: Boolean = false, renameProvider: Option[RenameOptions] = None, codeActionProvider: Option[CodeActionOptions] = None, documentLinkProvider: Option[DocumentLinkOptions] = None, workspace: Option[WorkspaceServerCapabilities] = None, experimental: Option[AnyRef] = None, serialization: Option[SerializationServerOptions] = None, cleanDiagnostics: Option[CleanDiagnosticTreeOptions] = None, fileUsage: Option[FileUsageOptions] = None, conversion: Option[ConversionRequestOptions] = None, documentHighlightProvider: Option[Boolean] = None, hoverProvider: Option[Boolean] = None, foldingRangeProvider: Option[Boolean] = None, selectionRange: Option[Either[Boolean, StaticRegistrationOptions]] = None, renameFileAction: Option[RenameFileActionOptions] = None, updateConfiguration: Option[UpdateConfigurationServerOptions] = None, documentFormattingProvider: Boolean = false, documentRangeFormattingProvider: Boolean = false) 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.
- implementationProvider
The server provides goto implementation 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
prepareSupportin its initialinitializerequest.- experimental
Experimental server capabilities.
- serialization
the server provides serialization of the resolved model notifications
- cleanDiagnostics
the server supports request for clean full diagnostics over a given uri
Value Members
- object AlsInitializeParams
- object AlsInitializeResult extends Serializable
- object AlsServerCapabilities extends Serializable