autoCompleteShortcutLabels
constautoCompleteShortcutLabels: [string,string][]
Defined in: extensions/commands/format.ts:106
Array of keyboard shortcuts and descriptions for the autoComplete extension. Useful for documenting key bindings to users. It consists of tuples containing two string each where the first string is the key binding and the second is the description.
Example
Section titled “Example”for (const [key, description] of autoCompleteShortcutLabels) { console.log(formatHotkey(key), description)}