Microsoft/vscode

Keybinding doesn't work.

Open

#159 977 ouverte le 3 sept. 2022

Voir sur GitHub
 (5 commentaires) (0 réactions) (1 assigné)TypeScript (10 221 forks)batch import
bugeditor-corehelp wanted

Métriques du dépôt

Stars
 (74 848 stars)
Métriques de merge PR
 (Merge moyen 11h 43m) (1 000 PRs mergées en 30 j)

Description

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version:Version: 1.70.2 (Universal)
  • OS Version: macOS 12.5.1

Steps to Reproduce:

  1. Adding keybindings.
    {
        "key": "alt+backspace",
        "command": "deleteWordLeft",
        "when": "textInputFocus && !editorReadonly"
    },
    {
        "key": "ctrl+w",
        "command": "deleteWordLeft",
        "when": "textInputFocus && !editorReadonly"
    }
  1. There are different behaviors. Opening Command Palette and inputing test, then pressing alt+backspace will show > in Command Palette. Opening Command Palette and inputing test, then pressing ctrl+w will show nothing(without >) in Command Palette.

Guide contributeur