The title of the code action.
The kind of the code action.
A command this code action executes.
Diagnostics that this code action resolves.
Marks that the code action cannot currently be applied.
A workspace edit this code action performs.
Marks this as a preferred action.
Kind 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
edit
and/or acommand
. If both are supplied, theedit
is applied first, then the command is executed.