Contains additional diagnostic information about the context in which a {@link CodeActionProvider.provideCodeActions code action} is run.

Fields

finalread onlytriggerKind:CodeActionTriggerKind

The reason why code actions were requested.

@:optionaloptionalread onlyonly:Null<CodeActionKind>

Requested kind of actions to return.

Actions not of this kind are filtered out before being shown by the lightbulb.

read onlydiagnostics:ReadOnlyArray<Diagnostic>

An array of diagnostics.