Moving the cursor flashes the highlighted symbol
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
Without the vim extension, if you have the text cursor over a variable name or function name, the symbol highlights automatically. If you move the cursor with the arrow keys and the cursor is still over the same symbol, it stays highlighted.
With the vim extension enabled, moving the cursor turns the highlight off until the cursor stop, then immediately turns on again after a small delay (I estimate 100 ms). This is rather annoying.
To Reproduce
- go with the cursor over a symbol. The word will highlight.
- press and release the left arrow key multiple times to move the cursor along the symbol. The highlight will turn off.
- stop pressing the left arrow and the symbol will highlight again.
Expected behavior
The extension should not change the behavior. the highlighted word should remain highlighted as long as the cursor is over it.
Screenshots
It requires a movie, but I think the description is clear.
Environment (please complete the following information):
- Extension (VsCodeVim) version: 1.12.7
- VSCode version: 1.60.0
- OS: macOs big sur
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
No file or test is named. Reproduce the behavior in VSCode 1.60.0 with VsCodeVim 1.12.7 by moving through a highlighted symbol with the left arrow key, then trace the extension's cursor-movement and symbol-highlighting entry points. Done means the highlight remains visible while the cursor moves within the same symbol, without the brief delay.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100