Skip to content
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

Changing vue files causes internal state to desync in Sublime Text #4909

Closed
rchl opened this issue Oct 6, 2024 · 0 comments · Fixed by volarjs/volar.js#240
Closed

Changing vue files causes internal state to desync in Sublime Text #4909

rchl opened this issue Oct 6, 2024 · 0 comments · Fixed by volarjs/volar.js#240
Labels
bug Something isn't working upstream

Comments

@rchl
Copy link
Collaborator

rchl commented Oct 6, 2024

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.

Screen.Recording.2024-10-06.at.21.10.22.mov

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants