Adding a description to a keybinding in a vscode extension

Viewed 46

In visual studio code (vscode), how to add a description to a keybinding so that it appears in the extension presentation view as shown in the image?

extension presentation view in vscode

EDIT: This is the declaration of the keybinding in package.json:

"keybindings": [
      {
        "key": "ctrl+shift+h",
        "mac": "cmd+shift+h",
        "command": "editor.action.insertSnippet",
        "when": "editorTextFocus && editorLangId == html",
        "description": "Insert an HTML starter code.",
        "args": {
          "name": "HTML5 Start"
        }
      },
.....

 
0 Answers
Related