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
x/tools/gopls: corrupting file when saving in visual studio code #49465
Comments
Thanks for the report @ThisEndUp
|
Thanks for replying. I am attaching a file with the requested data. I had to make a few attempts to reproduce the failure, but since the trace and info were running while I did these, I hope the errant behavior will show up, Let me know if you'd like more information. One more thing: looking at the VS Code Extensions | Runtime Status, I see that there is an uncaught error: |
I finally got to looking at this a bit. It looks like there may be some edit fighting going on -- could you share your VS Code Thanks. |
Thanks for replying. I won't have access to the computer that was displaying the problem for some months. If you need more from me, I'll have to see if the problem crops up on one of the other computers I'm using, but in the interest of making progress on my project, I've temporarily reverted to a slightly older version of gopls and will wait for a new one to appear before updating again. |
It's been a while. @ThisEndUp are you still with an older version of gopls?
|
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
This seems to have occurred several years ago (#3027). Obviously fixed and closed, but has come back!
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes, but it failed on previous go (1.17.2) as well and previous vs code, too. I updated both to see if the problem would go away.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Made small alteration in go program and used ^S to save. File corrupted -- characters deleted.
Specifically,
What did you expect to see?
Just the alterations in the file
(plus "fyne.io/fyne/v2/layout" added to the include section)
What did you see instead?
letters disappeared; see diffs
list --> lit in first line
myWindow --> mWindow or yWindow -- see diffs below:
The text was updated successfully, but these errors were encountered: