Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CodeActionProviderMetadata

Metadata about the type of code actions that a CodeActionProvider providers

Hierarchy

  • CodeActionProviderMetadata

Index

Properties

documentation?: readonly { command: Command; kind: CodeActionKind }[]

Documentation from the provider is shown in the code actions menu

At most one documentation entry will be shown per provider.

providedCodeActionKinds?: readonly CodeActionKind[]

CodeActionKinds that this provider may return.

The list of kinds may be generic, such as CodeActionKind.Refactor, or the provider may list our every specific kind they provide, such as CodeActionKind.Refactor.Extract.append('function)`