go/gopls/doc
Suzy Mueller 7e129ca5ef gopls: add codelens to reset upgrade diagnostics
This clears the diagnostics that were added by the `Check for
upgrades` codelens for the given go.mod file. The diagnostic
source for the diagnostics from `Check for upgrades` is now
modCheckUpgradesSource instead of modSource in order to allow
us to easily clear these diagnostics.

Fixes golang/go#54065

Change-Id: I7c0824ce1fdfcf2a73ec83342501ceed82fc519f
Reviewed-on: https://go-review.googlesource.com/c/tools/+/426016
Reviewed-by: Alan Donovan <adonovan@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Suzy Mueller <suzmue@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
2022-09-12 15:41:56 +00:00
..
design gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
advanced.md gopls/doc: update stale documentation on generics 2022-03-29 16:50:19 +00:00
analyzers.md go/tools: add check for time formats with 2006-02-01 2022-08-03 20:00:23 +00:00
command-line.md gopls/doc: remove bad gopls cli link 2021-10-20 20:41:51 +00:00
commands.md gopls: add codelens to reset upgrade diagnostics 2022-09-12 15:41:56 +00:00
contributing.md gopls/doc: update stale documentation and improve link names 2022-09-07 18:17:13 +00:00
daemon.md gopls/doc: clarify how to set remote.listen.timeout 2021-03-08 14:22:49 +00:00
emacs.md Update emacs.md - add .dir-locals.el example 2021-03-19 04:40:15 +00:00
features.md gopls: change the default value for templateExtensions to be empty 2022-01-13 20:56:24 +00:00
generate.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
generate_test.go gopls/doc: make doc generation work regardless of the current directory 2022-08-31 13:23:24 +00:00
inlayHints.md internal/lsp: update inlay hints documentation to include go snippets 2022-07-26 18:27:49 +00:00
semantictokens.md internal/lsp: produce "method" in place of "member" as per the spec 2021-09-13 21:01:54 +00:00
settings.md gopls/doc: update stale documentation and improve link names 2022-09-07 18:17:13 +00:00
subl.md gopls/doc: how to request a particular gopls w/ sublime text 2022-02-04 21:02:33 +00:00
troubleshooting.md gopls: merge README and user.md 2021-01-21 18:28:06 +00:00
vim.md gopls: Improve auto-imports example for NeoVim LSP 2022-08-09 15:21:58 +00:00
workspace.md gopls/doc/workspace: correct grammar 2022-08-12 22:57:26 +00:00