vim
vim

Reputation: 875

Custom command palette in VSCode Extension

I am developing a VSCode extension that adds a status bar item. I want that when clicked, it will open a custom command palette with special commands. The functionality I am looking for is very similar to the built in Git item on the left of the status bar, which when clicked open a palette that offer to do Git stuff.

Upvotes: 0

Views: 813

Answers (1)

Dorin Botan
Dorin Botan

Reputation: 1388

The built-in Git item uses the QuickPick Capability.

Check out the API here, and a demo here.

Upvotes: 1

Related Questions