Binding Field header
Example
toml
[header]
version = 2.0
name = "My Bindings"
requiredExtensions = ["Vue.volar"]
Required Fields
version
: Must be version 2.0.x (typically 2.0); only version 2.0 currently exists. Follows semantic versioning.name
: The name of this keybinding set; shows up in menus to select keybinding presetsrequiredExtensions
: An array of string identifiers for all extensions used by this binding set.
In general if you use the commands from an extension in your keybinding file, it is good to include them in requiredExtensions
so that others can use your keybindings without running into errors due to a missing extension.
Finding Extension Identifiers
You can find an extension's identifier as follows:
- Open the extension in VSCode's extension marketplace
- Click on the gear (⚙︎) symbol
- Click "Copy Extension ID"; you now have the identifier in your system clipboard