class LSProtocol::PublishDiagnosticsClientCapabilities

Overview

The publish diagnostic client capabilities.

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, related_information : Bool | Nil = nil, tag_support : ClientDiagnosticsTagOptions | Nil = nil, version_support : Bool | 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 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]
def version_support : Bool | Nil #

Whether the client interprets the version property of the textDocument/publishDiagnostics notification's parameter.

@since 3.15.0


[View source]