Class: ExtractVariable
actions/MakeshiftActions.ExtractVariable
Hierarchy
↳
ExtractVariable
Constructors
constructor
• new ExtractVariable(graph, options?)
Parameters
| Name | Type |
|---|---|
graph | Graph |
options | CommandOptions |
Inherited from
Defined in
actions/CommandAction.ts:37
Properties
command
• command: string = "editor.action.codeAction"
Overrides
Defined in
actions/MakeshiftActions.ts:67
commandArg
• commandArg: Object
Type declaration
| Name | Type |
|---|---|
kind | string |
preferred | boolean |
Overrides
Defined in
actions/MakeshiftActions.ts:68
ensureSingleTarget
• ensureSingleTarget: boolean = true
Overrides
MakeshiftAction.ensureSingleTarget
Defined in
actions/MakeshiftActions.ts:72
postCommandSleepMs
• Optional postCommandSleepMs: number
Inherited from
MakeshiftAction.postCommandSleepMs
Defined in
actions/MakeshiftActions.ts:10
restoreSelection
• restoreSelection: boolean = false
Overrides
MakeshiftAction.restoreSelection
Defined in
actions/MakeshiftActions.ts:73
Methods
run
▸ run(targets): Promise<ActionReturnValue>
Parameters
| Name | Type |
|---|---|
targets | [Target[]] |
Returns
Promise<ActionReturnValue>
Inherited from
Defined in
actions/MakeshiftActions.ts:12