struct LSP::ServerCapabilities

Included Modules

Defined in:

lsp/protocol/server_capabilities.cr

Constructors

Instance Method Summary

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

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def code_action_provider : Bool | CodeActionOptions #

[View source]
def code_action_provider=(code_action_provider : Bool | CodeActionOptions) #

[View source]
def code_lens_provider : CodeLensOptions #

[View source]
def code_lens_provider=(code_lens_provider : CodeLensOptions) #

[View source]
def color_provider : Bool | ColorProviderOptions #

[View source]
def color_provider=(color_provider : Bool | ColorProviderOptions) #

[View source]
def completion_provider : CompletionOptions #

[View source]
def completion_provider=(completion_provider : CompletionOptions) #

[View source]
def declaration_provider=(declaration_provider : Bool) #

[View source]
def declaration_provider? : Bool #

[View source]
def definition_provider=(definition_provider : Bool) #

[View source]
def definition_provider? : Bool #

[View source]
def document_formatting_provider=(document_formatting_provider : Bool) #

[View source]
def document_formatting_provider? : Bool #

[View source]
def document_highlight_provider=(document_highlight_provider : Bool) #

[View source]
def document_highlight_provider? : Bool #

[View source]
def document_link_provider : DocumentLinkOptions #

[View source]
def document_link_provider=(document_link_provider : DocumentLinkOptions) #

[View source]
def document_on_type_formatting_provider : DocumentOnTypeFormattingOptions #

[View source]
def document_on_type_formatting_provider=(document_on_type_formatting_provider : DocumentOnTypeFormattingOptions) #

[View source]
def document_range_formatting_provider=(document_range_formatting_provider : Bool) #

[View source]
def document_range_formatting_provider? : Bool #

[View source]
def document_symbol_provider=(document_symbol_provider : Bool) #

[View source]
def document_symbol_provider? : Bool #

[View source]
def execute_command_provider : ExecuteCommandOptions #

[View source]
def execute_command_provider=(execute_command_provider : ExecuteCommandOptions) #

[View source]
def folding_range_provider : Bool | FoldingRangeProviderOptions #

[View source]
def folding_range_provider=(folding_range_provider : Bool | FoldingRangeProviderOptions) #

[View source]
def hover_provider=(hover_provider : Bool) #

[View source]
def hover_provider? : Bool #

[View source]
def implementation_provider=(implementation_provider : Bool) #

[View source]
def implementation_provider? : Bool #

[View source]
def references_provider=(references_provider : Bool) #

[View source]
def references_provider? : Bool #

[View source]
def rename_provider : Bool | RenameOptions #

[View source]
def rename_provider=(rename_provider : Bool | RenameOptions) #

[View source]
def semantic_tokens_provider : SemanticTokensOptions #

[View source]
def semantic_tokens_provider=(semantic_tokens_provider : SemanticTokensOptions) #

[View source]
def signature_help_provider : SignatureHelpOptions #

[View source]
def signature_help_provider=(signature_help_provider : SignatureHelpOptions) #

[View source]
def text_document_sync : TextDocumentSyncOptions | Int32 #

[View source]
def text_document_sync=(text_document_sync : TextDocumentSyncOptions | Int32) #

[View source]
def type_definition_provider=(type_definition_provider : Bool) #

[View source]
def type_definition_provider? : Bool #

[View source]
def workspace : Workspace #

Workspace specific server capabilities


[View source]
def workspace=(workspace : Workspace) #

Workspace specific server capabilities


[View source]
def workspace_symbol_provider=(workspace_symbol_provider : Bool) #

[View source]
def workspace_symbol_provider? : Bool #

[View source]