Autocomplete two closing brackets
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
With Microsoft Pinyin input method on Window 10 (or use Old version on Windows 11), when typing an opening bracket (, two closing brackets )) are automatically completed. Square brackets, curly brackets, and sometimes quotation marks also have the same bug.
To Reproduce
Steps to reproduce the behavior:
- With Microsoft Pinyin input method on Window 10 (or use Old version on Windows 11)
- Use English punctuation when inputting Chinese
- Switch to Chinese mode
- Type an opening bracket at INSERT mode of vim
- See error
Expected behavior
Automatically completed only one closing brackets
Screenshots
Environment (please complete the following information):
- Extension (VsCodeVim) version: v1.6.2 to v1.27.1, at least
- VSCode version: 1.84.2 (user setup)
- OS: Windows 11 23H2, Windows 10 21H2
Additional context
I tested and reproduced it with only the vim plugin enabled.
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 issue in VSCodeVim INSERT mode with Microsoft Pinyin on the listed Windows versions, using English punctuation while in Chinese mode. Trace the extension's bracket and quotation completion behavior and compare it with ordinary input. Done means an opening bracket produces exactly one closing bracket, including square and curly brackets where affected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100