-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Revert saved code frequently. #84
Comments
It happen again, i saw some logs like following: Come from
Come from
Come from
Forget to mention, every time meet this issue, i run |
This issue probably happen when apply edit or when formatting.
|
This issue is gone after delete following line in my lsp config.
I need more time to test if this issue caused by lsp-format-buffer conflict with other formatting mode. |
After test a while, quite ensure, this issue related to above lsp-foramt-buffer before save hook, if disable it, no this issue. |
But the formatter advice of I use lsp-mode for a long time, others mode (e.g. dart-mode, rust-mode, go-mode) no this format issue anyway. |
I record a video, for describe how this bug happen when i edit a file called Screencast_06_03_2024_07.13.35_PM.mp4Explain on the above video:
|
This issue happen a lot recent days when i am working a lucky project.
I use emacs, crystalline features work quite well with my emacs lsp-mode, even , i can jump into source code sometimes.
But one issue happen frequently, make me almost want to give up.
this issue happen quite randomally, after i saved code, code revert immedately unexpected.
i even don't mind those revert ( it happen very quick), often i found this issue happen only because the
crystal build status never changed after fix bug.
Anyway, i will try to capture some LSP IO debug output next time happen.
please give me some clue about why this happen, only for me??
this probably related to #41 too.
thanks
The text was updated successfully, but these errors were encountered: