Home > Enterprise >  Custom command palette in VSCode Extension
Custom command palette in VSCode Extension

Time:06-22

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.

CodePudding user response:

The built-in Git item uses the QuickPick Capability.

Check out the API here, and a demo here.

  • Related