Skip to content

VS Code Extension

ABCrimson edited this page Mar 7, 2026 · 1 revision

VS Code Extension

The vscode-command extension provides 10 snippets for fast command palette development.

Snippets

Prefix Description
cmd-basic Basic command palette
cmd-dialog Dialog with overlay
cmd-item Single item
cmd-group Item group with heading
cmd-frecency Frecency-enabled palette
cmd-async Async items with Suspense
cmd-hook useCommand hook usage
cmd-machine Core machine (framework-agnostic)
cmd-shortcut Keyboard shortcut registration
cmd-page Page navigation

Installation

The extension is in packages/vscode-command/. To install locally:

cd packages/vscode-command
npx vsce package
code --install-extension vscode-command-*.vsix

Clone this wiki locally