1
0
mirror of https://github.com/golang/go synced 2024-11-18 08:14:41 -07:00

gopls/doc: update code lens documentation for the new test lens

Change-Id: I334981a4c9c10dab9520d7e3fcc19981bcd4a86e
Reviewed-on: https://go-review.googlesource.com/c/tools/+/233477
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
This commit is contained in:
Rob Findley 2020-05-12 09:25:06 -04:00 committed by Robert Findley
parent 05c28aabb4
commit 65e69ff2d1

View File

@ -88,8 +88,9 @@ Example Usage:
Overrides the enabled/disabled state of various code lenses. Currently, we
support two code lenses:
* `generate`: run `go generate` as specified by a `//go:generate` directive.
* `upgrade.dependency`: upgrade a dependency listed in a `go.mod` file.
* `generate`: [default: enabled] run `go generate` as specified by a `//go:generate` directive.
* `upgrade.dependency`: [default: enabled] upgrade a dependency listed in a `go.mod` file.
* `test`: [default: disabled] run `go test -run` for a test func.
By default, both of these code lenses are enabled.