class

LSProtocol::DiagnosticOptions

Inherits JSON::Serializable / Reference / Object

Diagnostic options.

@since 3.17.0

Constructors

new(inter_file_dependencies : Bool | Nil, workspace_diagnostics : Bool | Nil, identifier : String | Nil = nil, work_done_progress : Bool | Nil = nil)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

identifier

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

Source
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.

Source
work_done_progress
Source
workspace_diagnostics

The server provides support for workspace diagnostics as well.

Source