commit | 9650c66da3ff428b355c9b29c8a5ca02bd026f3d | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Fri Oct 19 16:03:29 2018 -0400 |
committer | Rebecca Stambler <rstambler@golang.org> | Mon Oct 22 21:17:51 2018 +0000 |
tree | 75358ade48e0d7825393c0ab3e3c3c03154d4b90 | |
parent | 6fe81c087942f588f40c3f67b41ce284f2f70eee [diff] |
internal/lsp: add support for publishing diagnostics Any time a file is changed, we compute diagnostics for its package and return them to the client. No caching is implemented yet, so we parse and type-check the package each time. Change-Id: I7fb2f1d8975e7ce092938d903599188cc2132512 Reviewed-on: https://go-review.googlesource.com/c/143497 Reviewed-by: Alan Donovan <adonovan@google.com> Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@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.