struct LSP::Protocol::ServerCapabilities
- LSP::Protocol::ServerCapabilities
- Struct
- Value
- Object
Overview
Specify supported server capabilities:
- Go to Implementation (WIP)
- Diagnostics (WIP)
- Formatting (WIP)
- Symbols (WIP)
- Completion (WIP)
- Hover (WIP)
- Code Actions (WIP)
Features not supported by Crystal yet:
- Rename
- Find References
Defined in:
lsp/protocol/server_capabilities.crConstructors
- .new(textDocumentSync : LSP::Protocol::TextDocumentSyncKind, documentFormattingProvider : Bool, definitionProvider : Bool, documentSymbolProvider : Bool, workspaceSymbolProvider : Bool, completionProvider : LSP::Protocol::CompletionOptions, hoverProvider : Bool)
- .new(__temp_308 : JSON::PullParser)
Instance Method Summary
- #completionProvider : CompletionOptions
- #completionProvider=(_completionProvider : CompletionOptions)
- #definitionProvider : Bool
- #definitionProvider=(_definitionProvider : Bool)
- #documentFormattingProvider : Bool
- #documentFormattingProvider=(_documentFormattingProvider : Bool)
- #documentSymbolProvider : Bool
- #documentSymbolProvider=(_documentSymbolProvider : Bool)
- #hoverProvider : Bool
- #hoverProvider=(_hoverProvider : Bool)
- #textDocumentSync : TextDocumentSyncKind
- #textDocumentSync=(_textDocumentSync : TextDocumentSyncKind)
- #to_json(json : JSON::Builder)
- #workspaceSymbolProvider : Bool
- #workspaceSymbolProvider=(_workspaceSymbolProvider : Bool)
Constructor Detail
def self.new(textDocumentSync : LSP::Protocol::TextDocumentSyncKind, documentFormattingProvider : Bool, definitionProvider : Bool, documentSymbolProvider : Bool, workspaceSymbolProvider : Bool, completionProvider : LSP::Protocol::CompletionOptions, hoverProvider : Bool)
#