class LSProtocol::ClientCapabilities
- LSProtocol::ClientCapabilities
- Reference
- Object
Overview
Defines the capabilities provided by the client.
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(pull : JSON::PullParser)
- .new(experimental : LSPAny | Nil = nil, general : GeneralClientCapabilities | Nil = nil, notebook_document : NotebookDocumentClientCapabilities | Nil = nil, text_document : TextDocumentClientCapabilities | Nil = nil, window : WindowClientCapabilities | Nil = nil, workspace : WorkspaceClientCapabilities | Nil = nil)
Instance Method Summary
-
#experimental : LSPAny | Nil
Experimental client capabilities.
-
#general : GeneralClientCapabilities | Nil
General client capabilities.
-
#notebook_document : NotebookDocumentClientCapabilities | Nil
Capabilities specific to the notebook document support.
-
#text_document : TextDocumentClientCapabilities | Nil
Text document specific client capabilities.
-
#window : WindowClientCapabilities | Nil
Window specific client capabilities.
-
#workspace : WorkspaceClientCapabilities | Nil
Workspace specific client capabilities.
Constructor Detail
def self.new(experimental : LSPAny | Nil = nil, general : GeneralClientCapabilities | Nil = nil, notebook_document : NotebookDocumentClientCapabilities | Nil = nil, text_document : TextDocumentClientCapabilities | Nil = nil, window : WindowClientCapabilities | Nil = nil, workspace : WorkspaceClientCapabilities | Nil = nil)
#
Instance Method Detail
def notebook_document : NotebookDocumentClientCapabilities | Nil
#
Capabilities specific to the notebook document support.
@since 3.17.0
def text_document : TextDocumentClientCapabilities | Nil
#
Text document specific client capabilities.