Interface: Action
actions/actions.types.Action
Implemented by
BringMoveSwap
Call
CallbackAction
Clear
CutToClipboard
Delete
Deselect
EditNew
ExecuteCommand
FindInWorkspace
FollowLink
GenerateSnippet
GetText
Highlight
InsertCopy
InsertEmptyLines
InsertSnippet
Replace
Rewrap
Scroll
SetSelection
SortBase
ToggleBreakpoint
Wrap
WrapWithSnippet
Methods
getFinalStages
▸ Optional
getFinalStages(...args
): ModifierStage
[]
Used to define final stages that should be run at the end of the pipeline before the action
Parameters
Name | Type | Description |
---|---|---|
...args | any [] | Extra args to command |
Returns
Defined in
getPrePositionStages
▸ Optional
getPrePositionStages(...args
): ModifierStage
[]
Used to define stages that should be run before the final positional stage, if there is one
Parameters
Name | Type | Description |
---|---|---|
...args | any [] | Extra args to command |
Returns
Defined in
run
▸ run(targets
, ...args
): Promise
<ActionReturnValue
>
Parameters
Name | Type |
---|---|
targets | Target [][] |
...args | any [] |
Returns
Promise
<ActionReturnValue
>