Skip to content

autoCompleteShortcutLabels

const autoCompleteShortcutLabels: [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.

for (const [key, description] of autoCompleteShortcutLabels) {
console.log(formatHotkey(key), description)
}