Fail to search TAB by expanded "<tab>" in search bar
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
In the bottom search bar, if we press the TAB key in keyboard, the pattern expands to "tab" with "<>" around and the TAB characters in the file cannot be found.
However if we type "\t" in the search bar, the searching works fine.
To Reproduce
- Open a file with TAB character included,
- Press "/" to activate the bottom search bar,
- Press TAB key in keyboard
- Press Enter key in keyboard, and the TAB character in the opened file cannot be found.
Expected behavior
Pattern "" in search bar can match the TAB character in file. If I remember correctly, it worked the same way as "\t" in searching.
Environment (please complete the following information):
- Extension (VsCodeVim) version: Vim 1.27.3
- VSCode version: 1.92.0 (system setup)
- OS: Win 10 (Windows_NT x64 10.0.19045)
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
Start by reproducing the issue in the VSCodeVim bottom search bar with a file containing a TAB character, comparing the keyboard-expanded "" pattern with the typed "\t" pattern. Done means the expanded pattern finds the TAB character as expected; the payload does not name a source file or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- search, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100