Skip to main content

Class: CommentLines

actions/MakeshiftActions.CommentLines

Hierarchy

Constructors

constructor

new CommentLines(graph, options?)

Parameters

NameType
graphGraph
optionsCommandOptions

Inherited from

MakeshiftAction.constructor

Defined in

actions/CommandAction.ts:37

Properties

command

command: string = "editor.action.commentLine"

Overrides

MakeshiftAction.command

Defined in

actions/MakeshiftActions.ts:85


commandArg

Optional commandArg: object

Inherited from

MakeshiftAction.commandArg

Defined in

actions/MakeshiftActions.ts:8


ensureSingleTarget

Optional ensureSingleTarget: boolean

Inherited from

MakeshiftAction.ensureSingleTarget

Defined in

actions/MakeshiftActions.ts:9


postCommandSleepMs

Optional postCommandSleepMs: number

Inherited from

MakeshiftAction.postCommandSleepMs

Defined in

actions/MakeshiftActions.ts:10


restoreSelection

Optional restoreSelection: boolean

Inherited from

MakeshiftAction.restoreSelection

Defined in

actions/MakeshiftActions.ts:7

Methods

run

run(targets): Promise<ActionReturnValue>

Parameters

NameType
targets[Target[]]

Returns

Promise<ActionReturnValue>

Inherited from

MakeshiftAction.run

Defined in

actions/MakeshiftActions.ts:12