Skip to main content

Class: ExtractVariable

actions/MakeshiftActions.ExtractVariable

Hierarchy

Constructors

constructor

new ExtractVariable(graph, options?)

Parameters

NameType
graphGraph
optionsCommandOptions

Inherited from

MakeshiftAction.constructor

Defined in

actions/CommandAction.ts:37

Properties

command

command: string = "editor.action.codeAction"

Overrides

MakeshiftAction.command

Defined in

actions/MakeshiftActions.ts:67


commandArg

commandArg: Object

Type declaration

NameType
kindstring
preferredboolean

Overrides

MakeshiftAction.commandArg

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

NameType
targets[Target[]]

Returns

Promise<ActionReturnValue>

Inherited from

MakeshiftAction.run

Defined in

actions/MakeshiftActions.ts:12