Options
All
  • Public
  • Public/Protected
  • All
Menu

Metadata about the type of code actions that a CodeActionProvider provides.

Hierarchy

  • CodeActionProviderMetadata

Index

Properties

providedCodeActionKinds?: readonly string[]

List of code action kinds that a 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 ["quickfix", "refactor", "source"], or list out every kind provided, such as ["quickfix.removeLine", "source.fixAll" ...].