DiagnosticFix

data class DiagnosticFix(val replacement: String, val label: String = replacement)(source)

A fix for a diagnostic: replacement for its range, shown on the menu as label. A label says what a fix does where the replacement alone would not, such as "Remove “the”" for an empty replacement.

Constructors

Link copied to clipboard
constructor(replacement: String, label: String = replacement)

Properties

Link copied to clipboard
Link copied to clipboard