Interface CodeActionProviderMetadata
Expand description
interface CodeActionProviderMetadata {
documentation?: readonly {
command: Command;
kind: string;
}[];
providedCodeActionKinds?: readonly string[];
}Properties§
§
readonly documentation?: readonly { command: Command; kind: string }[]§readonly provided Code Action Kinds?: 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" ...].
Metadata about the type of code actions that a CodeActionProvider provides.