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

Plugin state is out of sync after few minutes of usage #761

Open
maciej-zuk opened this issue Oct 19, 2020 · 1 comment
Open

Plugin state is out of sync after few minutes of usage #761

maciej-zuk opened this issue Oct 19, 2020 · 1 comment

Comments

@maciej-zuk
Copy link

maciej-zuk commented Oct 19, 2020

After few minutes of using of the plugin it seems to lose synchronization with the LSP, highlights are misplaced and tooltips are wrong.
image
image
Only restarting ST or using "Automatic package reloader" helps.
Edit: Undo action doesn't help, it's stuck in wrong state.

@trbrc
Copy link

trbrc commented Oct 20, 2020

I keep running into this as well, and I've been looking for anything that resets the state for a file. I've tried things like closing and re-opening the file, renaming it, changing syntax, cutting the whole file content and pasting it back in, but the squigglies stay in the wrong place. Thank you @maciej-zuk for the suggestion to use AutomaticPackageReloader, that's the only thing that has worked so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants