I can't provide a reproduction since it depends on LSP-volar version that I'm working on and also reproduction is not very reliable and timing dependant unless using a macro to execute an edit.
I have actually found the issue in Volar and I will be creating a PR with tests that reproduce the issue.
Vue - Official extension or vue-tsc version
2.1.6
VSCode version
-
Vue version
2.7.16
TypeScript version
5.4.5
System Info
No response
package.json dependencies
No response
Steps to reproduce
Editing vue file randomly makes internal state go wrong and break some features like for example "Extend selection".
What is expected?
Features works as expected no matter how much documented is edited.
What is actually happening?
After certain edits (here I'm executing a macro to create specific edits), the "expand selection" command starts selecting random things.
https://github.com/user-attachments/assets/39aaf8ab-fdac-4d15-8597-4327e32b0dff
Link to minimal reproduction
No response
Any additional comments?
I can't provide a reproduction since it depends on LSP-volar version that I'm working on and also reproduction is not very reliable and timing dependant unless using a macro to execute an edit.
I have actually found the issue in Volar and I will be creating a PR with tests that reproduce the issue.