go/gopls/doc
Heschi Kreinick f1f686b0d0 internal/lsp: re-enable upgrades for individual dependencies
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>
2021-02-01 17:10:16 +00:00
..
design gopls/doc: clean up and slightly reorganize documentation 2021-01-14 06:55:38 +00:00
advanced.md gopls: factor out advanced documentation from the README 2021-01-22 17:08:14 +00:00
analyzers.md gopls/doc: generate documentation for analyzers 2020-12-29 01:23:49 +00:00
command-line.md gopls/doc: clean up and slightly reorganize documentation 2021-01-14 06:55:38 +00:00
commands.md internal/lsp: re-enable upgrades for individual dependencies 2021-02-01 17:10:16 +00:00
contributing.md gopls: merge README and user.md 2021-01-21 18:28:06 +00:00
daemon.md gopls: merge README and user.md 2021-01-21 18:28:06 +00:00
emacs.md gopls: merge README and user.md 2021-01-21 18:28:06 +00:00
features.md gopls/doc: clean up and slightly reorganize documentation 2021-01-14 06:55:38 +00:00
generate.go internal/lsp: save all possible keys for analyses, codelenses 2020-12-30 22:05:20 +00:00
generate_test.go gopls/doc: generate JSON too, store as composite literal 2020-12-03 20:21:02 +00:00
settings.md gopls/doc/vscode.md: update vscode setting example 2021-01-12 23:06:58 +00:00
subl.md cmd/gopls: add documentation 2019-08-27 15:23:08 +00:00
troubleshooting.md gopls: merge README and user.md 2021-01-21 18:28:06 +00:00
vim.md gopls/doc: clean up and slightly reorganize documentation 2021-01-14 06:55:38 +00:00
workspace.md internal/lsp: correct links provided in critical error pop-ups 2021-01-22 20:33:18 +00:00