CodeActionKind class
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.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- CodeActionKind(String value)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- empty → CodeActionKind
-
Empty kind.
no setter
- notebook → CodeActionKind
-
Base kind for all code actions applying to the enitre notebook's scope. CodeActionKinds using
this should always begin with
notebook.
no setter - quickFix → CodeActionKind
-
Base kind for quickfix actions:
quickfix
.no setter - refactor → CodeActionKind
-
Base kind for refactoring actions:
refactor
no setter - refactorExtract → CodeActionKind
-
Base kind for refactoring extraction actions:
refactor.extract
no setter - refactorInline → CodeActionKind
-
Base kind for refactoring inline actions:
refactor.inline
no setter - refactorMove → CodeActionKind
-
Base kind for refactoring move actions:
refactor.move
no setter - refactorRewrite → CodeActionKind
-
Base kind for refactoring rewrite actions:
refactor.rewrite
no setter - source → CodeActionKind
-
Base kind for source actions:
source
no setter - sourceFixAll → CodeActionKind
-
Base kind for auto-fix source actions:
source.fixAll
.no setter - sourceOrganizeImports → CodeActionKind
-
Base kind for an organize imports source action:
source.organizeImports
.no setter