1
0
mirror of https://github.com/golang/go synced 2024-11-18 22:44:48 -07:00
The Go programming language
Go to file
Rebecca Stambler ae42f3cd5c internal/lsp: recover from a view initialization failure
If an orphaned file is used to recover a workspace package, we should
remove the initialization error and treat the view as correctly
initialized.

Also, stop caching metadata for packages with no files. We have no way
to invalidate it, and it's useless, so just re-load those files as
needed.

Fixes golang/go#36795.
Fixes golang/go#36671.
Fixes golang/go#36772.

Change-Id: I0aee5a43401517b6073d27136cca533160effef2
Reviewed-on: https://go-review.googlesource.com/c/tools/+/216637
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2020-01-28 22:02:46 +00:00
benchmark/parse
blog
cmd cmd/stress: use an ellipsis when truncating output 2020-01-22 22:00:14 +00:00
container/intsets
cover cover: error on negative numbers in profiles 2020-01-15 21:23:19 +00:00
go internal/lsp: don't show list errors unless necessary 2020-01-27 19:59:09 +00:00
godoc
gopls gopls/doc: document updating to an unstable version 2020-01-25 22:37:03 +00:00
imports
internal internal/lsp: recover from a view initialization failure 2020-01-28 22:02:46 +00:00
playground
present
refactor
txtar
.gitattributes
.gitignore
AUTHORS
codereview.cfg
CONTRIBUTING.md
CONTRIBUTORS
go.mod
go.sum
LICENSE
PATENTS
README.md

Go Tools

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.

Download/Install

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.

Report Issues / Send Patches

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.