新版 VSC 使用 quickOpen 搜索文本如果发生了匹配 VSCVim 模式会由 Normal 切换到 Visual
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Describe the bug
如题
To Reproduce
先打开 quickOpen 并切换为 % 搜索文本模式,此时 Vim 扩展模式正常(没有发生切换,见左下角)
当输入文本的过程中,如果 quickOpen 匹配到内容,Vim 扩展模式直接切换为 VISUAL 模式
VSC version: 1.100.2
Vim ext version: 1.29.2
Expected behavior
不要发生 mode 的切换,不然每次使用完 quickOpen 都要按一下 ESC
之前 VSC 1.99.3 没有这个问题,升级之后出现这种情况。
感谢!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the mode switch by using VS Code 1.100.2 with the Vim extension and searching in quickOpen with the % mode. Compare the behavior with VS Code 1.99.3, then trace the extension's handling of quickOpen focus and Vim mode changes. Done means matching results no longer switch Normal mode to Visual mode, and the behavior is covered by a regression test if the relevant test entry point is found.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100