diff --git a/internal/lsp/cache/mod_tidy.go b/internal/lsp/cache/mod_tidy.go index b613b838e7f..1dec13cb0c3 100644 --- a/internal/lsp/cache/mod_tidy.go +++ b/internal/lsp/cache/mod_tidy.go @@ -209,6 +209,7 @@ See https://github.com/golang/go/issues/39164 for more detail on this issue.`, Message: `go.sum is out of sync with go.mod. Please update it or run "go mod tidy".`, SuggestedFixes: []source.SuggestedFix{ { + Title: source.CommandTidy.Title, Command: &protocol.Command{ Command: source.CommandTidy.ID(), Title: source.CommandTidy.Title, @@ -216,6 +217,7 @@ See https://github.com/golang/go/issues/39164 for more detail on this issue.`, }, }, { + Title: source.CommandUpdateGoSum.Title, Command: &protocol.Command{ Command: source.CommandUpdateGoSum.ID(), Title: source.CommandUpdateGoSum.Title,