2

This is driving me crazy. I'm using VS Code as my IDE for Go development. About every third or so time I save my changes, it corrupts the file by removing random characters. I have tried manually removing all extensions, uninstalled VS Code, re-installed VS Code, and installed only the Go extension, but it still keeps happening. Based on what's happening, I guess I can isolate it to the Go extension, but I'm not seeing any other posts associated with the behavior. Is anyone else experiencing this and, if so, what have you tried?

John Boldt
  • 91
  • 7
  • Can you file a bug at vs code, it might the vs code issue, not the extension. Also what OS you are using. – Bill Chen Jan 23 '20 at 22:48
  • Try to save with open console in developer tools (Help -> Toggle Developer tools -> Console) or/and with open logs (View -> Command Palllete... -> Show Logs) – Axifive Jan 23 '20 at 22:53
  • That's a very strange symptom. Are you saving to a local drive, or are you editing over a network or anything like that? Are you on Windows or Linux? – lurker Jan 23 '20 at 22:54
  • Sorry - should have mentioned that I'm on Windows 10 and I'm saving locally. I'll try the suggestions and report back. – John Boldt Jan 23 '20 at 22:57
  • 1
    @BillChen I'll file a bug, but I'm not noticing it happening in other extensions like PowerShell or NSIS, so it doesn't look like a vs code issue. – John Boldt Jan 23 '20 at 23:00

1 Answers1

0

This VSCode bug addresses the issue.

John Boldt
  • 91
  • 7