mirror of https://github.com/golang/go.git
In CL 271297, I disabled the constantly-running upgrade check, which removed the upgrade commands for individual dependencies. This seems to have been a relatively popular feature. Re-introduce it, but requiring explicit user interaction. We now run an upgrade check when the user clicks "Check for upgrades". Those results are stored on the View and used to show diagnostics on any requires they apply to. Right now we only check the go.mod the user has open; in multi-module workspaces it might make sense to check all of them, but I'm not sure. Fixes golang/go#42969. Change-Id: I65205dc99a4fa9daafdb83145b0294b6f3be5336 Reviewed-on: https://go-review.googlesource.com/c/tools/+/286474 Trust: Heschi Kreinick <heschi@google.com> Run-TryBot: Heschi Kreinick <heschi@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
|---|---|---|
| .. | ||
| design | ||
| advanced.md | ||
| analyzers.md | ||
| command-line.md | ||
| commands.md | ||
| contributing.md | ||
| daemon.md | ||
| emacs.md | ||
| features.md | ||
| generate.go | ||
| generate_test.go | ||
| settings.md | ||
| subl.md | ||
| troubleshooting.md | ||
| vim.md | ||
| workspace.md | ||