mirror of https://github.com/golang/go.git
The two codelenses that are attached to the module statement are 'Run go mod tidy' and 'Create vendor directory'. In a 'go.mod' file without any required modules, the only codelens that shows up is the 'Create vendor directory'. With no required modules, there is nothing to vendor, but 'Run go mod tidy' may actually clean up the go.mod and go.sum, so this is the codelens we want to appear. Change-Id: I7264f8c4c4427a66264684f71fd4407b2170609f Reviewed-on: https://go-review.googlesource.com/c/tools/+/322292 Trust: Suzy Mueller <suzmue@golang.org> Run-TryBot: Suzy Mueller <suzmue@golang.org> gopls-CI: kokoro <noreply+kokoro@google.com> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
|---|---|---|
| .. | ||
| analysisinternal | ||
| apidiff | ||
| event | ||
| fakenet | ||
| fastwalk | ||
| gocommand | ||
| gopathwalk | ||
| imports | ||
| jsonrpc2 | ||
| jsonrpc2_v2 | ||
| lsp | ||
| memoize | ||
| packagesinternal | ||
| proxydir | ||
| span | ||
| stack | ||
| testenv | ||
| tool | ||
| typeparams | ||
| typesinternal | ||
| xcontext | ||