struct LSP::ClientCapabilities

Overview

ClientCapabilities define capabilities for dynamic registration, workspace and text document features the client supports. The experimental can be used to pass experimental capabilities under development. For future compatibility a ClientCapabilities object literal can have more properties set than currently defined. Servers receiving a ClientCapabilities object literal with unknown properties should ignore these properties. A missing property should be interpreted as an absence of the capability. If a missing property normally defines sub properties, all missing sub properties should be interpreted as an absence of the corresponding capability.

Included Modules

Defined in:

base/capabilities/client_capabilities.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(**args) #

Instance Method Detail

def experimental : JSON::Any? #

Experimental client capabilities.


def experimental=(experimental : JSON::Any?) #

Experimental client capabilities.


def ignore_diagnostics? : Bool #

def text_document : TextDocumentClientCapabilities? #

def text_document=(text_document : TextDocumentClientCapabilities?) #

def window : Window? #

Window specific client capabilities.


def window=(window : Window?) #

Window specific client capabilities.


def workspace : Workspace? #

Workspace specific client capabilities.


def workspace=(workspace : Workspace?) #

Workspace specific client capabilities.