1
0
mirror of https://github.com/golang/go synced 2024-11-18 11:44:45 -07:00
go/internal/lsp/mod
Rebecca Stambler 5d67d6c6f5 internal/lsp: clean up some of the mod code lens code
Refactor the checks for code lenses being enabled out of the source
package so that the mod code lenses can also make use of them.

Also, a few small changes to the titles of the `go mod tidy` and `go mod
vendor` code lenses.

Change-Id: I4e79ab08a4e7aea4d4d6de6fd652d0b77d30c811
Reviewed-on: https://go-review.googlesource.com/c/tools/+/252397
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
2020-09-02 16:06:48 +00:00
..
testdata/unchanged internal/lsp/tests: fix reset of golden files 2020-02-19 14:42:13 +00:00
code_lens.go internal/lsp: clean up some of the mod code lens code 2020-09-02 16:06:48 +00:00
diagnostics.go internal/lsp/mod: handle nil pointer exception for empty go.mod files 2020-08-26 01:43:00 +00:00
format.go internal/lsp: remove Mod handles 2020-07-29 19:44:36 +00:00
hover.go internal/lsp: fix builds and tests for go1.12+ 2020-08-27 14:30:46 +00:00
mod_test.go internal/lsp/cache: ref-count snapshots 2020-08-03 22:08:54 +00:00