-
Notifications
You must be signed in to change notification settings - Fork 30.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moving cursor on a symbol using keyboard doesn't show occurrences of the symbol #225065
Comments
Could you check your settings related to word highlighting? I'm unable to repro this on my local machine. Settings to check:
Also, does this repro on stable at all? (latest insiders as of 11am PT aug 7th) 20240807-1832-14.7937027.mp4 |
Hm, I can repro only with the Vim extension (vscodevim.vim) installed, but the problem is that the vim ext hasn't updated since May and this doesn't repro on stable 1.92, so there must be some regression in insiders. I also can repro with all settings removed. |
@Yoyokrazy occurrences highlighting is broken NOT only with vim, which I think makes it an important bug. It should be reasonably easy to track down the bug with vscode-bisect Repro:
The demo below first shows behavior in stable then insiders: CleanShot.2024-08-09.at.11.38.45.mp4 |
@ulugbekna thanks for the dig into this! taking care of this in the AM, should have it resolved by next insiders |
bit of looking, I've got a hunch that this could be related to a known issue related to an output channel being open. see #199253 @ulugbekna could you confirm whether or not this could be the issue? I noticed in your second repro video that there was text streaming, and it's still been the only way I can repro the bug... Are you able to repro with all output channels and streaming text closed? I'm going to fix the mentioned and hopefully that may resolve this as well. Let me know if you're seeing it repro with output channels all closed |
The repro involving the vim ext is always reproducible and the main problem for me. The other repro occurs rarely and not sure under what conditions |
Okay so this has always been "broken", but it seems to be related really far back to a patch that happened here: What it looks like right now is that during all of the polish work that came for occurrence highlighting, specifically the As it is, I think that the experience in stable VS Code 20240812-2126-15.7455651.mp4The fix can be fully handled here with the following:
Fixed behavior: (selfhosting code OSS) 20240812-2138-25.3226667.mp4
https://github.com/VSCodeVim/Vim/blob/master/src/mode/modeHandler.ts#L1736-L1742 |
Repro:
CleanShot.2024-08-07.at.17.00.31.mp4
Version: 1.93.0-insider
Commit: d4c4e69
Date: 2024-08-07T05:03:47.999Z
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: 12.4.254.20-electron.0
OS: Darwin arm64 23.5.0
The text was updated successfully, but these errors were encountered: