1
0
mirror of https://github.com/golang/go synced 2024-10-01 01:48:32 -06:00
go/internal/lsp/mod
Rohan Challa bc664416c6 internal/lsp: fix error handling when getting go.mod codelens
This change has a fix for mod/codelens: check if we get an error from ParseModHandles().Upgrades(). This change also only runs codelens on save.

Change-Id: I6dab7ddf3a08c650e4c670b039b1e99153ec8187
Reviewed-on: https://go-review.googlesource.com/c/tools/+/219478
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
Run-TryBot: Rohan Challa <rohan@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2020-02-14 19:54:16 +00:00
..
testdata/unchanged internal/lsp/tests: standardize testdata folder format 2020-02-06 14:14:23 +00:00
code_lens.go internal/lsp: fix error handling when getting go.mod codelens 2020-02-14 19:54:16 +00:00
diagnostics.go internal/lsp/cache: improve ModTidyHandle cache key 2020-02-07 18:07:39 +00:00
mod_test.go go/packages/packagestest: do not overwrite existing go.mod file 2020-02-06 15:23:23 +00:00