commit | 3aa5a36464f7f55a3e3d1e37936425e2432b50d6 | [log] [tgz] |
---|---|---|
author | Rohan Challa <rohan@golang.org> | Thu Dec 19 10:20:43 2019 -0500 |
committer | Rohan Challa <rohan@golang.org> | Thu Dec 19 18:11:24 2019 +0000 |
tree | ba2774c55fd10c549ba1392d05b69a3a5c04ea88 | |
parent | 4f29fbcc08757151cf2bf84e645ffa5e057d9c3b [diff] |
internal/lsp: add gopls setting to disable use of -modfile flag behavior This CL adds a "disableTempModfile" boolean that can be turned on or off. While we are adding support for go.mod files in gopls, this flag will allow users to opt out of using the -modfile flag that is enabled in Go 1.14. This flag might be removed at a future point, the decision still needs to be made. Updates golang/go#31999 Change-Id: Ic90229333e988fcc6d461ab1ee47bce1114bd965 Reviewed-on: https://go-review.googlesource.com/c/tools/+/212139 Run-TryBot: Rohan Challa <rohan@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org>
This subrepository holds the source for various packages and tools that support the Go programming language.
Some of the tools, godoc
and vet
for example, are included in binary Go distributions.
Others, including the Go guru
and the test coverage tool, can be fetched with go get
.
Packages include a type-checker for Go and an implementation of the Static Single Assignment form (SSA) representation for Go programs.
The easiest way to install is to run go get -u golang.org/x/tools/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/tools
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the tools repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/tools/(your subdir):” in the subject line, so it is easy to find.