go/internal/lsp/cache
Rebecca Stambler 2ecf2a5d1b internal/lsp: don't reload invalid build configurations unconditionally
Previously, we would always reload views with invalid build
configurations on every call to reloadWorkspace, even if the metadata
had no reason to be treated as invalid.

Fixes golang/go#42813

Change-Id: I9e0e493228916262908b81bc1b1ab1eb4e4eca9e
Reviewed-on: https://go-review.googlesource.com/c/tools/+/274443
Trust: Rebecca Stambler <rstambler@golang.org>
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
2020-12-03 16:35:28 +00:00
..
analysis.go internal/memoize: add a final argument to Bind for cleaning up 2020-10-30 19:59:21 +00:00
cache.go internal/lsp/cache: only invalidate metadata for go.mod files on save 2020-11-20 03:23:37 +00:00
check.go internal/lsp: use mode (GOPATH/modules) oriented error messages 2020-12-01 06:44:07 +00:00
error_test.go
errors.go internal/lsp: add support for RelatedInformation in diagnostics 2020-09-04 18:57:47 +00:00
imports.go internal/lsp: track all go.mod changes no matter the workspace mode 2020-12-01 19:22:19 +00:00
keys.go internal/lsp: decouple client and server debug 2020-06-11 13:49:48 +00:00
load.go internal/lsp: improve errors in multi-module workspaces (GO111MODULE=on) 2020-12-01 20:46:55 +00:00
mod.go internal/lsp: extract filenames from go command errors 2020-11-24 18:15:41 +00:00
mod_tidy.go internal/lsp/cache: include missing dependencies in mod tidy key 2020-12-01 19:14:55 +00:00
os_darwin.go internal/lsp: add a mutex around the view's options 2020-04-02 16:41:49 +00:00
os_windows.go internal/lsp/cache: validate workspace path case 2020-03-27 19:55:53 +00:00
parse.go internal/memoize: add a final argument to Bind for cleaning up 2020-10-30 19:59:21 +00:00
parse_test.go internal/lsp/cache: trim ellipsis array literals 2020-08-12 23:16:40 +00:00
pkg.go internal/lsp: prepare for deletion of view.modURI 2020-09-28 20:19:43 +00:00
session.go internal/lsp: check the value of GO111MODULE before collecting modules 2020-12-01 06:27:05 +00:00
snapshot.go internal/lsp: don't reload invalid build configurations unconditionally 2020-12-03 16:35:28 +00:00
view.go internal/lsp: improve errors in multi-module workspaces (GO111MODULE=on) 2020-12-01 20:46:55 +00:00
view_test.go internal/lsp: extract filenames from go command errors 2020-11-24 18:15:41 +00:00
workspace.go internal/lsp: track all go.mod changes no matter the workspace mode 2020-12-01 19:22:19 +00:00
workspace_test.go internal/lsp: track all go.mod changes no matter the workspace mode 2020-12-01 19:22:19 +00:00