Common Capabilities
Common Capabilities are important building blocks for your extensions. Almost all extensions use some of these functionalities. Here is how you can take advantage of them.
Command
Command is central to how VS Code works. You open the Command Palette to execute commands, bind custom keybindings to commands, and right-click to invoke commands in Context Menus.
An extension could:
- Register and execute commands with the
vscode.commands
API. - Make commands available in the Command Palette with the
contributes.commands
Contribution Point.
Learn more about commands at the Extension Guides / Command topic.
Configuration
An extension can contribute extension-specific settings with the contributes.configuration
Contribution Point and read them using the workspace.getConfiguration
API.