Microsoft/vscode

Keybinding doesn't work.

Open

#159,977 创建于 2022年9月3日

在 GitHub 查看
 (5 评论) (0 反应) (1 负责人)TypeScript (10,221 fork)batch import
bugeditor-corehelp wanted

仓库指标

Star
 (74,848 star)
PR 合并指标
 (平均合并 11小时 43分钟) (30 天内合并 1,000 个 PR)

描述

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.

贡献者指南