struct

LSP::ServerCapabilities

Inherits JSON::Serializable < Struct < Value < Object

Constructors

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

Instance methods

call_hierarchy_provider

The server provides call hierarchy support.

Source
call_hierarchy_provider=(call_hierarchy_provider : Bool | CallHierarchyOptions | CallHierarchyRegistrationOptions | Nil)

The server provides call hierarchy support.

Source
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 | Nil)

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.

Source
color_provider=(color_provider : Bool | DocumentColorOptions | DocumentColorRegistrationOptions | Nil)

The server provides color provider support.

Source
completion_provider

The server provides completion support.

Source
completion_provider=(completion_provider : CompletionOptions | Nil)

The server provides completion support.

Source
declaration_provider

The server provides go to declaration support.

Source
declaration_provider=(declaration_provider : Bool | DeclarationOptions | DeclarationRegistrationOptions | Nil)

The server provides go to declaration support.

Source
definition_provider

The server provides goto definition support.

Source
definition_provider=(definition_provider : Bool | DefinitionOptions | Nil)

The server provides goto definition support.

Source
diagnostic_provider

The server has support for pull model diagnostics.

Source
diagnostic_provider=(diagnostic_provider : DiagnosticOptions | DiagnosticRegistrationOptions | Nil)

The server has support for pull model diagnostics.

Source
document_formatting_provider

The server provides document formatting.

Source
document_formatting_provider=(document_formatting_provider : Bool | DocumentFormattingOptions | Nil)

The server provides document formatting.

Source
document_highlight_provider

The server provides document highlight support.

Source
document_highlight_provider=(document_highlight_provider : Bool | DocumentHighlightOptions | Nil)

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 | DocumentRangeFormattingOptions | Nil)

The server provides document range formatting.

Source
document_symbol_provider

The server provides document symbol support.

Source
document_symbol_provider=(document_symbol_provider : Bool | DocumentSymbolOptions | Nil)

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
Source
experimental=(experimental : JSON::Any | Nil)
Source
folding_range_provider

The server provides folding provider support.

Source
folding_range_provider=(folding_range_provider : Bool | FoldingRangeOptions | FoldingRangeRegistrationOptions | Nil)

The server provides folding provider support.

Source
hover_provider

The server provides hover support.

Source
hover_provider=(hover_provider : Bool | HoverOptions | Nil)

The server provides hover support.

Source
implementation_provider

The server provides goto implementation support.

Source
implementation_provider=(implementation_provider : Bool | ImplementationOptions | ImplementationRegistrationOptions | Nil)

The server provides goto implementation support.

Source
inlay_hint_provider

The server provides inlay hints.

Source
inlay_hint_provider=(inlay_hint_provider : Bool | InlayHintOptions | InlayHintRegistrationOptions | Nil)

The server provides inlay hints.

Source
inline_value_provider

The server provides inline values.

Source
inline_value_provider=(inline_value_provider : Bool | InlineValueOptions | InlineValueRegistrationOptions | Nil)

The server provides inline values.

Source
linked_editing_range_provider

The server provides linked editing range support.

Source
linked_editing_range_provider=(linked_editing_range_provider : Bool | LinkedEditingRangeOptions | LinkedEditingRangeRegistrationOptions | Nil)

The server provides linked editing range support.

Source
moniker_provider

Whether server provides moniker support.

Source
moniker_provider=(moniker_provider : Bool | MonikerOptions | MonikerRegistrationOptions | Nil)

Whether server provides moniker support.

Source
notebook_document_sync

Defines how notebook documents are synced.

Source
notebook_document_sync=(notebook_document_sync : NotebookDocumentSyncOptions | NotebookDocumentSyncRegistrationOptions | Nil)

Defines how notebook documents are synced.

Source
position_encoding

The position encoding the server picked from the encodings offered by the client via the client capability general.positionEncodings.

If the client didn't provide any position encodings the only valid value that a server can return is 'utf-16'.

If omitted it defaults to 'utf-16'.

Source
position_encoding=(position_encoding : PositionEncodingKind | Nil)

The position encoding the server picked from the encodings offered by the client via the client capability general.positionEncodings.

If the client didn't provide any position encodings the only valid value that a server can return is 'utf-16'.

If omitted it defaults to 'utf-16'.

Source
references_provider

The server provides find references support.

Source
references_provider=(references_provider : Bool | ReferenceOptions | Nil)

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 | Nil)

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

Source
selection_range_provider

The server provides selection range support.

Source
selection_range_provider=(selection_range_provider : Bool | SelectionRangeOptions | SelectionRangeRegistrationOptions | Nil)

The server provides selection range support.

Source
semantic_tokens_provider

The server provides semantic tokens support.

Source
semantic_tokens_provider=(semantic_tokens_provider : SemanticTokensOptions | SemanticTokensRegistrationOptions | Nil)

The server provides semantic tokens support.

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 | Nil)

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.

Source
type_definition_provider=(type_definition_provider : Bool | TypeDefinitionOptions | TypeDefinitionRegistrationOptions | Nil)

The server provides goto type definition support.

Source
type_hierarchy_provider

The server provides type hierarchy support.

Source
type_hierarchy_provider=(type_hierarchy_provider : Bool | TypeHierarchyOptions | TypeHierarchyRegistrationOptions | Nil)

The server provides type hierarchy support.

Source
workspace

Workspace specific server capabilities

Source
workspace=(workspace : Workspace | Nil)

Workspace specific server capabilities

Source
workspace_symbol_provider

The server provides workspace symbol support.

Source
workspace_symbol_provider=(workspace_symbol_provider : Bool | WorkspaceSymbolOptions | Nil)

The server provides workspace symbol support.

Source

Nested types