Class: CommentLines
actions/MakeshiftActions.CommentLines
Hierarchy
↳
CommentLines
Constructors
constructor
• new CommentLines(graph, options?)
Parameters
| Name | Type |
|---|---|
graph | Graph |
options | CommandOptions |
Inherited from
Defined in
actions/CommandAction.ts:37
Properties
command
• command: string = "editor.action.commentLine"
Overrides
Defined in
actions/MakeshiftActions.ts:85
commandArg
• Optional commandArg: object
Inherited from
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
| Name | Type |
|---|---|
targets | [Target[]] |
Returns
Promise<ActionReturnValue>
Inherited from
Defined in
actions/MakeshiftActions.ts:12