Kind of a code action.
Kinds are a hierarchical list of identifiers separated by
Code action kinds are used by VS Code for UI elements such as the refactoring context menu. Users
can also trigger code actions with a specific kind with the
String value of the kind, e.g.
Base kind for quickfix actions:
Quick fix actions address a problem in the code and are shown in the normal code action context menu.
Base kind for refactoring actions:
Refactoring actions are shown in the refactoring context menu.
Base kind for refactoring extraction actions:
Example extract actions:
Base kind for refactoring inline actions:
Example inline actions:
Base kind for refactoring rewrite actions:
Example rewrite actions:
Base kind for source actions:
Source code actions apply to the entire file and can be run on save
editor.codeActionsOnSave. They also are shown in
source context menu.
Base kind for auto-fix source actions:
Fix all actions automatically fix errors that have a clear fix that do not require user input. They should not suppress errors or perform unsafe fixes such as generating new types or classes.
Base kind for an organize imports source action:
Create a new kind by appending a more specific selector to the current kind.
Does not modify the current kind.
Does this kind contain
"refactor" for example contains
"refactor.extract" and ``"refactor.extract.function"
, but not "unicorn.refactor.extract"
Kind to check.
Check if this code action kind intersects
The kind "refactor.extract" for example intersects refactor, "refactor.extract" and
`"refactor.extract.function", but not "unicorn.refactor.extract", or "refactor.extractAll".
Kind to check.