Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WorkspaceCommand

A workspace command.

Hierarchy

Index

Properties

Optional Readonly button

button: StatusBarItem

The optional button.

Readonly command

command: Disposable

The command instance.

Readonly description

description: string

A description of the command.

Readonly execute

execute: (context: CommandExecutionContext, ...args: any[]) => any

Executes the command.

param

The execution context.

param

One or more argument for the execution.

returns

The result of the execution.

Type declaration

Readonly id

id: string

The ID of the command.

Readonly item

The item from the settings.

Readonly name

name: string

The name for display.

Methods

dispose

  • dispose(): any
  • Dispose this object.

    Returns any

Generated using TypeDoc