class LSProtocol::DiagnosticRegistrationOptions

Overview

Diagnostic registration options.

@since 3.17.0

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(document_selector : DocumentSelector | Nil, inter_file_dependencies : Bool | Nil, workspace_diagnostics : Bool | Nil, id : String | Nil = nil, identifier : String | Nil = nil, work_done_progress : Bool | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def document_selector : DocumentSelector | Nil #

[View source]
def id : String | Nil #

The id used to register the request. The id can be used to deregister the request again. See also Registration#id.


[View source]
def identifier : String | Nil #

An optional identifier under which the diagnostics are managed by the client.


[View source]
def inter_file_dependencies : Bool #

[View source]
def work_done_progress : Bool | Nil #

[View source]
def workspace_diagnostics : Bool #

[View source]