providedCodeActionKinds property

List<CodeActionKind>? get providedCodeActionKinds

List of {@link CodeActionKindCodeActionKinds} that a {@link CodeActionProvider} may return.

This list is used to determine if a given CodeActionProvider should be invoked or not. To avoid unnecessary computation, every CodeActionProvider should list use providedCodeActionKinds. The list of kinds may either be generic, such as [CodeActionKind.Refactor], or list out every kind provided, such as [CodeActionKind.Refactor.Extract.append('function'), CodeActionKind.Refactor.Extract.append('constant'), ...].

Implementation

_i2.List<_i3.CodeActionKind>? get providedCodeActionKinds => (_i5.getProperty(
      this,
      'providedCodeActionKinds',
    ) as _i2.List?)
        ?.cast();