Constructors

Properties

changeKeymapEmitter: Emitter<void> = ...
deferredModel: Deferred<MonacoEditorModel> = ...
jsoncEditor: MonacoJSONCEditor
keybindingRegistry: KeybindingRegistry
messageService: MessageService
model: undefined | MonacoEditorModel
onDidChangeKeymaps: Event<void> = ...
opener: OpenerService
textModelService: MonacoTextModelService
workspace: MonacoWorkspace

Methods

  • Remove the keybindings with the given command id from the JSON. This includes disabled keybindings.

    Parameters

    • commandId: string

      the keybinding command id.

    Returns Promise<void>

  • Set the keybinding in the JSON.

    Parameters

    • newKeybinding: Keybinding

      the new JSON keybinding

    • oldKeybinding: undefined | ScopedKeybinding

      the old JSON keybinding

    Returns Promise<void>

  • Unset the given keybinding in the JSON. If the given keybinding has a default scope, it will be disabled in the JSON. Otherwise, it will be removed from the JSON.

    Parameters

    • keybinding: ScopedKeybinding

      the keybinding to unset

    Returns Promise<void>