LineDiagnostic

data class LineDiagnostic(val start: Int, val end: Int, val message: String, val fixes: List<DiagnosticFix> = emptyList(), val severity: DiagnosticSeverity = DiagnosticSeverity.Error)(source)

An issue in one line, from start to end, as character offsets into the line.

Parameters

message

Says what is wrong, shown on the menu the underline opens.

fixes

Offered on that menu.

severity

How the issue is underlined.

Constructors

Link copied to clipboard
constructor(start: Int, end: Int, message: String, fixes: List<DiagnosticFix> = emptyList(), severity: DiagnosticSeverity = DiagnosticSeverity.Error)

Properties

Link copied to clipboard
val end: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val start: Int