microsoft / microsoft/vscode-pull-request-github

Cannot move cursor in PR text area with ctrl+p and ctrl+f on mac OS

未关闭
#6,597 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

feature-request
主要语言
TypeScript
星标
2.6k
派生
796
平均合并
1 天 4 小时
30 天内合并 PR
46

描述

I want move cursor in PR text area with ctrl+p(cursorUp) and ctrl+f(cursorRight).
PR text area context is not textInputForcus.
I don't know why it is working ctrl+a, ctrl+e, ctrl+b.

Versions

GHPR Version: 0.102.0
VSCode Version: 1.96.2 (Universal)
Electron: 32.2.6
ElectronBuildId: 10629634
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin arm64 23.6.0

Keyboard Shortcuts Troubleshoot

ctrl+p (not work)
2025-01-16 11:38:43.189 [info] [KeybindingService]: / Received  keydown event - modifiers: [ctrl], code: KeyP, keyCode: 80, key: p
2025-01-16 11:38:43.189 [info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl], code: KeyP, keyCode: 46 ('P')
2025-01-16 11:38:43.189 [info] [KeybindingService]: | Resolving ctrl+[KeyP]
2025-01-16 11:38:43.190 [info] [KeybindingService]: \ From 6 keybinding entries, no when clauses matched the context.
2025-01-16 11:38:43.489 [info] [KeybindingService]: + Ignoring single modifier ctrl due to it being pressed together with other keys.
ctrl+b (work)
2025-01-16 11:39:59.431 [info] [KeybindingService]: / Received  keydown event - modifiers: [ctrl], code: KeyB, keyCode: 66, key: b
2025-01-16 11:39:59.431 [info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl], code: KeyB, keyCode: 32 ('B')
2025-01-16 11:39:59.434 [info] [KeybindingService]: | Resolving ctrl+[KeyB]
2025-01-16 11:39:59.434 [info] [KeybindingService]: \ From 1 keybinding entries, no when clauses matched the context.
2025-01-16 11:39:59.694 [info] [KeybindingService]: + Ignoring single modifier ctrl due to it being pressed together with other keys.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

未指定文件或测试。首先在 macOS 上使用 ctrl+p 和 ctrl+f 复现 PR 文本区域的行为,然后检查键盘快捷键故障排查输出以及扩展的 PR 文本区域入口点。完成的标准是两个快捷键都能移动光标,同时报告为可用的快捷键仍能正常工作。

由索引模型根据 Issue 内容生成。

评估

技术栈
github, typescript, vscode
领域
developer-experience, tooling
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。