Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Command

Represents a reference to a command. Provides a title which will be used to represent a command in the UI and, optionally, an array of arguments which will be passed to the command handler function when invoked.

层级

  • Command

索引

Properties(4)

Properties(4)

title

title: string

Title of the command, like save.

command

command: string

The identifier of the actual command handler.

see

commands.registerCommand

Optional tooltip

tooltip: string

A tooltip for the command, when represented in the UI.

Optional arguments

arguments: any[]

Arguments that the command handler should be invoked with.

VS Code 插件开发中文文档 | VS Code 中文文档 | VS Code 官网文档 | VS Code 扩展市场

Generated by TypeDoc