command property

Command get command

The {@link Command} that should be executed when the tree item is selected.

Please use vscode.open or vscode.diff as command IDs when the tree item is opening something in the editor. Using these commands ensures that the resulting editor will appear consistent with how other built-in trees open editors.

Implementation

_i3.Command get command => _i5.getProperty(
      this,
      'command',
    );
set command (Command value)

Implementation

set command(_i3.Command value) {
  _i5.setProperty(
    this,
    'command',
    value,
  );
}