The title of the code action.
Optionalkind: CodeActionKindThe kind of the code action.
OptionalcommandA command this code action executes.
OptionaldiagnosticsDiagnostics that this code action resolves.
OptionaldisabledMarks that the code action cannot currently be applied.
OptionaleditA workspace edit this code action performs.
OptionalisMarks this as a preferred action.
OptionalkindKind of the code action.
Used to filter code actions.
A short, human-readable, title for this code action.
A code action represents a change that can be performed in code, e.g. to fix a problem or to refactor code.
A CodeAction must set either
editand/or acommand. If both are supplied, theeditis applied first, then the command is executed.