struct LSP::ServerCapabilities
- LSP::ServerCapabilities
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
lsp/protocol/server_capabilities.crConstructors
- .new(document_on_type_formatting_provider : LSP::DocumentOnTypeFormattingOptions, document_range_formatting_provider : Bool, document_formatting_provider : Bool, document_highlight_provider : Bool, workspace_symbol_provider : Bool, semantic_tokens_provider : LSP::SemanticTokensOptions, document_symbol_provider : Bool, type_definition_provider : Bool, execute_command_provider : LSP::ExecuteCommandOptions, signature_help_provider : LSP::SignatureHelpOptions, implementation_provider : Bool, folding_range_provider : Bool | LSP::FoldingRangeProviderOptions, document_link_provider : LSP::DocumentLinkOptions, code_action_provider : Bool | LSP::CodeActionOptions, declaration_provider : Bool, completion_provider : LSP::CompletionOptions, definition_provider : Bool, references_provider : Bool, code_lens_provider : LSP::CodeLensOptions, text_document_sync : Int32 | LSP::TextDocumentSyncOptions, rename_provider : Bool | LSP::RenameOptions, color_provider : Bool | LSP::ColorProviderOptions, hover_provider : Bool, workspace : LSP::Workspace)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #code_action_provider : Bool | CodeActionOptions
- #code_action_provider=(code_action_provider : Bool | CodeActionOptions)
- #code_lens_provider : CodeLensOptions
- #code_lens_provider=(code_lens_provider : CodeLensOptions)
- #color_provider : Bool | ColorProviderOptions
- #color_provider=(color_provider : Bool | ColorProviderOptions)
- #completion_provider : CompletionOptions
- #completion_provider=(completion_provider : CompletionOptions)
- #declaration_provider=(declaration_provider : Bool)
- #declaration_provider? : Bool
- #definition_provider=(definition_provider : Bool)
- #definition_provider? : Bool
- #document_formatting_provider=(document_formatting_provider : Bool)
- #document_formatting_provider? : Bool
- #document_highlight_provider=(document_highlight_provider : Bool)
- #document_highlight_provider? : Bool
- #document_link_provider : DocumentLinkOptions
- #document_link_provider=(document_link_provider : DocumentLinkOptions)
- #document_on_type_formatting_provider : DocumentOnTypeFormattingOptions
- #document_on_type_formatting_provider=(document_on_type_formatting_provider : DocumentOnTypeFormattingOptions)
- #document_range_formatting_provider=(document_range_formatting_provider : Bool)
- #document_range_formatting_provider? : Bool
- #document_symbol_provider=(document_symbol_provider : Bool)
- #document_symbol_provider? : Bool
- #execute_command_provider : ExecuteCommandOptions
- #execute_command_provider=(execute_command_provider : ExecuteCommandOptions)
- #folding_range_provider : Bool | FoldingRangeProviderOptions
- #folding_range_provider=(folding_range_provider : Bool | FoldingRangeProviderOptions)
- #hover_provider=(hover_provider : Bool)
- #hover_provider? : Bool
- #implementation_provider=(implementation_provider : Bool)
- #implementation_provider? : Bool
- #references_provider=(references_provider : Bool)
- #references_provider? : Bool
- #rename_provider : Bool | RenameOptions
- #rename_provider=(rename_provider : Bool | RenameOptions)
- #semantic_tokens_provider : SemanticTokensOptions
- #semantic_tokens_provider=(semantic_tokens_provider : SemanticTokensOptions)
- #signature_help_provider : SignatureHelpOptions
- #signature_help_provider=(signature_help_provider : SignatureHelpOptions)
- #text_document_sync : TextDocumentSyncOptions | Int32
- #text_document_sync=(text_document_sync : TextDocumentSyncOptions | Int32)
- #type_definition_provider=(type_definition_provider : Bool)
- #type_definition_provider? : Bool
-
#workspace : Workspace
Workspace specific server capabilities
-
#workspace=(workspace : Workspace)
Workspace specific server capabilities
- #workspace_symbol_provider=(workspace_symbol_provider : Bool)
- #workspace_symbol_provider? : Bool
Constructor Detail
def self.new(document_on_type_formatting_provider : LSP::DocumentOnTypeFormattingOptions, document_range_formatting_provider : Bool, document_formatting_provider : Bool, document_highlight_provider : Bool, workspace_symbol_provider : Bool, semantic_tokens_provider : LSP::SemanticTokensOptions, document_symbol_provider : Bool, type_definition_provider : Bool, execute_command_provider : LSP::ExecuteCommandOptions, signature_help_provider : LSP::SignatureHelpOptions, implementation_provider : Bool, folding_range_provider : Bool | LSP::FoldingRangeProviderOptions, document_link_provider : LSP::DocumentLinkOptions, code_action_provider : Bool | LSP::CodeActionOptions, declaration_provider : Bool, completion_provider : LSP::CompletionOptions, definition_provider : Bool, references_provider : Bool, code_lens_provider : LSP::CodeLensOptions, text_document_sync : Int32 | LSP::TextDocumentSyncOptions, rename_provider : Bool | LSP::RenameOptions, color_provider : Bool | LSP::ColorProviderOptions, hover_provider : Bool, workspace : LSP::Workspace)
#
Instance Method Detail
def document_on_type_formatting_provider=(document_on_type_formatting_provider : DocumentOnTypeFormattingOptions)
#
def folding_range_provider=(folding_range_provider : Bool | FoldingRangeProviderOptions)
#