struct

LSP::Data::ServerCapabilities

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

code_action_provider

The server provides code actions. The CodeActionOptions return type is only valid if the client signals code action literal support via the property textDocument.codeAction.codeActionLiteralSupport.

Source
code_action_provider=(code_action_provider : Bool | CodeActionOptions)

The server provides code actions. The CodeActionOptions return type is only valid if the client signals code action literal support via the property textDocument.codeAction.codeActionLiteralSupport.

Source
code_lens_provider

The server provides code lens.

Source
code_lens_provider=(code_lens_provider : CodeLensOptions | Nil)

The server provides code lens.

Source
color_provider

The server provides color provider support.

Since 3.6.0

Source
color_provider=(color_provider : Bool | StaticRegistrationOptions)

The server provides color provider support.

Since 3.6.0

Source
completion_provider

The server provides completion support.

Source
completion_provider=(completion_provider : CompletionOptions | Nil)

The server provides completion support.

Source
definition_provider

The server provides goto definition support.

Source
definition_provider=(definition_provider : Bool)

The server provides goto definition support.

Source
document_formatting_provider

The server provides document formatting.

Source
document_formatting_provider=(document_formatting_provider : Bool | WorkDoneProgressOptions)

The server provides document formatting.

Source
document_highlight_provider

The server provides document highlight support.

Source
document_highlight_provider=(document_highlight_provider : Bool)

The server provides document highlight support.

Source
document_on_type_formatting_provider

The server provides document formatting on typing.

Source
document_on_type_formatting_provider=(document_on_type_formatting_provider : DocumentOnTypeFormattingOptions | Nil)

The server provides document formatting on typing.

Source
document_range_formatting_provider

The server provides document range formatting.

Source
document_range_formatting_provider=(document_range_formatting_provider : Bool | WorkDoneProgressOptions)

The server provides document range formatting.

Source
document_symbol_provider

The server provides document symbol support.

Source
document_symbol_provider=(document_symbol_provider : Bool)

The server provides document symbol support.

Source
execute_command_provider

The server provides execute command support.

Source
execute_command_provider=(execute_command_provider : ExecuteCommandOptions | Nil)

The server provides execute command support.

Source
experimental

Experimental server capabilities.

Source
experimental=(experimental : JSON::Any)

Experimental server capabilities.

Source
folding_range_provider

The server provides folding provider support.

Since 3.10.0

Source
folding_range_provider=(folding_range_provider : Bool | StaticRegistrationOptions)

The server provides folding provider support.

Since 3.10.0

Source
hover_provider

The server provides hover support.

Source
hover_provider=(hover_provider : Bool)

The server provides hover support.

Source
implementation_provider

The server provides Goto Implementation support.

Since 3.6.0

Source
implementation_provider=(implementation_provider : Bool | StaticRegistrationOptions)

The server provides Goto Implementation support.

Since 3.6.0

Source
references_provider

The server provides find references support.

Source
references_provider=(references_provider : Bool)

The server provides find references support.

Source
rename_provider

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

Source
rename_provider=(rename_provider : Bool | RenameOptions)

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

Source
signature_help_provider

The server provides signature help support.

Source
signature_help_provider=(signature_help_provider : SignatureHelpOptions | Nil)

The server provides signature help support.

Source
text_document_sync

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.

Source
text_document_sync=(text_document_sync : TextDocumentSyncOptions)

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.

Source
type_definition_provider

The server provides Goto Type Definition support.

Since 3.6.0

Source
type_definition_provider=(type_definition_provider : Bool | StaticRegistrationOptions)

The server provides Goto Type Definition support.

Since 3.6.0

Source
workspace

Workspace specific server capabilities

Source
workspace=(workspace : WorkspaceOptions)

Workspace specific server capabilities

Source
workspace_symbol_provider

The server provides workspace symbol support.

Source
workspace_symbol_provider=(workspace_symbol_provider : Bool)

The server provides workspace symbol support.

Source

Nested types