Skip to content

Commands

Coming Soon

Tracked in issue #38.

Commands are the core unit of the extension platform. A command has an id, a label shown in the command palette, and an optional keybinding.

Manifest Schema

json
{
  "contributes": {
    "commands": [
      {
        "id": "my-extension.helloWorld",
        "label": "Hello World",
        "keybinding": "cmd+shift+h"
      }
    ]
  }
}

Current Built-in Commands

The following built-in commands already exist in useKeyboardShortcuts and will migrate to the command registry when #38 ships:

ID (planned)LabelKeybinding
core.openCommandPaletteOpen Command Palette⌘K
core.openSettingsOpen Settings⌘,
core.newConversationNew Conversation⌘T
core.closeTabClose Tab⌘W

Released under the AGPLv3 License.