class LSProtocol::DiagnosticClientCapabilities

Overview

Client capabilities specific to diagnostic pull requests.

@since 3.17.0

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(code_description_support : Bool | Nil = nil, data_support : Bool | Nil = nil, dynamic_registration : Bool | Nil = nil, related_document_support : Bool | Nil = nil, related_information : Bool | Nil = nil, tag_support : ClientDiagnosticsTagOptions | Nil = nil) #

[View source]

Instance Method Detail

def code_description_support : Bool | Nil #

Client supports a codeDescription property

@since 3.16.0


[View source]
def data_support : Bool | Nil #

Whether code action supports the data property which is preserved between a textDocument/publishDiagnostics and textDocument/codeAction request.

@since 3.16.0


[View source]
def dynamic_registration : Bool | Nil #

Whether implementation supports dynamic registration. If this is set to true the client supports the new (TextDocumentRegistrationOptions & StaticRegistrationOptions) return value for the corresponding server capability as well.


[View source]
def related_document_support : Bool | Nil #

Whether the clients supports related documents for document diagnostic pulls.


[View source]
def related_information : Bool | Nil #

Whether the clients accepts diagnostics with related information.


[View source]
def tag_support : ClientDiagnosticsTagOptions | Nil #

Client supports the tag property to provide meta data about a diagnostic. Clients supporting tags have to handle unknown tags gracefully.

@since 3.15.0


[View source]