Skip to content

Binding Field header

Example

toml
[header]
version = 2.0
name = "My Bindings"
requiredExtensions = ["Vue.volar"]

Required Fields

  • version: Must be version 2.x.y (typically 2.0.0); only version 2.0.0 currently exists, but any future versions of 2 can be parsed by this version of master key, as per semantic versioning.

Optional Fields

  • name: The name of this keybinding set; shows up in menus to select keybinding presets
  • source: Append the kind, mode, define and bind entries in the current file to those defined in source. The source is the name of a Master Key preset. User defined bindings are not supported as source binding files.
  • requiredExtensions: An array of string identifiers for all extensions used by this binding set: identifies can be found using the procedure described below. If you use a command from an extension, it is best practice to include that extension here.

Finding Extension Identifiers

You can find an extension's identifier as follows:

  1. Open the extension in VSCode's extension marketplace
  2. Click on the gear (⚙︎) symbol
  3. Click "Copy Extension ID"; you now have the identifier in your system clipboard