tooltitude / support

Tooltitude Support
https://www.tooltitude.com
Other
21 stars 0 forks source link

go.sum keeps being refreshed by Tooltitude. #21

Closed ggqshr closed 1 year ago

ggqshr commented 1 year ago

Tooltitude Version:

v0.33.1

OS Version: Ubuntu 18.04.6 LTS

VS Code Version: Version: 1.81.1 (user setup) Commit: 6c3e3dba23e8fadc360aed75ce363ba185c49794 Date: 2023-08-09T22:22:42.175Z

Go Version: go version go1.19.9 linux/amd64

Code Repository (if open source): None

What did you try to do? Use git pull to sync remote commit, but go.sum keeps being refreshed by Tooltitude. Use git restore to discard go.sum change, immediately after the go.sum change is discarded, it is refreshed by Tooltitude. After disable Tooltitude, this phenomenon will no longer occur.

Is there anything interesting in the tooltitude output channel? (should be open if you are reporting error from within VS Code)

Steps to reproduce

tooltitude-support commented 1 year ago

Thank you for your feedback.

May I ask you to revert go.mod file, and run go work sync (if you have a workspace file) or go mod download if you have just one module without tooltitude running? If go.sum files change, then go.sum is likely out of date.

You could disable this behavior with tooltitude.downloadDeps and tooltitude.workspaceSyncForDownload options (see their description for details about what they do).

There was a case like this here: https://github.com/tooltitude/support/issues/18

tooltitude-support commented 1 year ago

Closing the issue since we have an option to disable the described behavior, and there're no replies from the original reporter.