CodeActionKind

Kind of a code action.

Kinds are a hierarchical list of identifiers separated by ., e.g. "refactor.extract.function".

Code action kinds are used by the editor for UI elements such as the refactoring context menu. Users can also trigger code actions with a specific kind with the editor.action.codeAction command.

Online Documentation

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

String value of the kind, e.g. "refactor.extract.function".

Functions

Link copied to clipboard

Create a new kind by appending a more specific selector to the current kind.

Link copied to clipboard

Checks if other is a sub-kind of this CodeActionKind.

Link copied to clipboard

Checks if this code action kind intersects other.