LSProtocol::DiagnosticRegistrationOptions
Inherits JSON::Serializable / Reference / Object
Diagnostic registration options.
@since 3.17.0
Constructors
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)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
document_selector
A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.
id
The id used to register the request. The id can be used to deregister the request again. See also Registration#id.
inter_file_dependencies
Whether the language has inter file dependencies meaning that editing code in one file can result in a different diagnostic set in another file. Inter file dependencies are common for most programming languages and typically uncommon for linters.
work_done_progress
Source