SimpleDiagnostic
data class SimpleDiagnostic(val range: IntRange, val message: String, val severity: DiagnosticSeverity)
A simple diagnostic that can be sent to the client.
Parameters
range
the range of the diagnostic in the source text
message
the message of the diagnostic
severity
the severity of the diagnostic
Constructors
Link copied to clipboard
Creates a SimpleDiagnostic from a DiagnosticCause.
Properties
Functions
Link copied to clipboard
Converts a SimpleDiagnostic to a Diagnostic suitable for the LSP to send to the client.