Interface KeybindingItem

Representation of a keybinding item for the view.

interface KeybindingItem {
    command: Command;
    keybinding?: ScopedKeybinding;
    labels: {
        command: RenderableLabel;
        context: RenderableLabel;
        id: RenderableLabel;
        keybinding: RenderableLabel;
        source: RenderableLabel;
    };
    visible?: boolean;
}

Properties

command: Command
keybinding?: ScopedKeybinding
labels: {
    command: RenderableLabel;
    context: RenderableLabel;
    id: RenderableLabel;
    keybinding: RenderableLabel;
    source: RenderableLabel;
}

human-readable labels can contain highlighting

Type declaration

visible?: boolean