go/internal/lsp
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 gopls, internal/lsp: support fillstruct for partially-filled structs 2020-11-30 20:22:45 +00:00
browser
cache internal/lsp: don't reload invalid build configurations unconditionally 2020-12-03 16:35:28 +00:00
cmd internal/lsp: use mode (GOPATH/modules) oriented error messages 2020-12-01 06:44:07 +00:00
debug internal/lsp: get debug pages limping along again 2020-11-16 16:55:47 +00:00
diff internal/lsp: fix some incorrect spelling 2020-11-24 11:59:21 +00:00
fake internal/lsp: fix misspelling in Codelens option 2020-11-30 17:56:50 +00:00
fuzzy internal/lsp/fuzzy: fix return value on no match 2020-08-28 15:37:48 +00:00
helper internal/lsp: update lsp protocol stubs to match LSP 3.16 revisions 2020-10-27 18:00:23 +00:00
lsprpc internal/lsp/lsprpc: prefer XDG_RUNTIME_DIR for the daemon socket 2020-12-01 03:00:18 +00:00
mod internal/lsp: use pointers to source.Error, and not to ErrorList 2020-11-23 19:09:50 +00:00
protocol internal/lsp: fix some incorrect spelling 2020-11-24 11:59:21 +00:00
snippet internal/lsp: offer type converted completion candidates 2020-11-30 20:04:59 +00:00
source internal/lsp: improve errors in multi-module workspaces (GO111MODULE=on) 2020-12-01 20:46:55 +00:00
testdata internal/lsp: use mode (GOPATH/modules) oriented error messages 2020-12-01 06:44:07 +00:00
tests internal/lsp: use mode (GOPATH/modules) oriented error messages 2020-12-01 06:44:07 +00:00
call_hierarchy.go internal/lsp: release resources for call hierarchy file requests 2020-08-07 21:04:51 +00:00
code_action.go internal/lsp: fix title for vendor suggested fix 2020-11-23 23:22:13 +00:00
code_lens.go internal/lsp: fix misspelling in Codelens option 2020-11-30 17:56:50 +00:00
command.go internal/lsp: track diagnostics by reporting source 2020-11-24 15:22:09 +00:00
completion.go internal/lsp/source: refactor c.item to support deepSearch in all cases 2020-10-01 23:00:09 +00:00
completion_test.go internal/lsp: pass options by reference instead of by value 2020-09-16 22:53:23 +00:00
debounce.go internal/lsp: add experimental support for multi-phase diagnostics 2020-10-02 14:12:12 +00:00
debounce_test.go internal/lsp: delay longer in TestDebouncer 2020-10-30 20:03:00 +00:00
definition.go internal/lsp/cache: ref-count snapshots 2020-08-03 22:08:54 +00:00
diagnostics.go internal/lsp: improve errors in multi-module workspaces (GO111MODULE=on) 2020-12-01 20:46:55 +00:00
folding_range.go internal/lsp/cache: ref-count snapshots 2020-08-03 22:08:54 +00:00
format.go internal/lsp/cache: ref-count snapshots 2020-08-03 22:08:54 +00:00
general.go internal/lsp: explicitly watch all known directories 2020-11-25 22:00:14 +00:00
highlight.go internal/lsp/cache: ref-count snapshots 2020-08-03 22:08:54 +00:00
hover.go internal/lsp/cache: ref-count snapshots 2020-08-03 22:08:54 +00:00
implementation.go internal/lsp/cache: ref-count snapshots 2020-08-03 22:08:54 +00:00
link.go internal/lsp: add ?utm_source=gopls to links to pkg.go.dev 2020-11-16 00:15:58 +00:00
lsp_test.go gopls, internal/lsp: support fillstruct for partially-filled structs 2020-11-30 20:22:45 +00:00
progress.go internal/lsp: trim progress report messages 2020-11-11 21:33:28 +00:00
progress_test.go internal/lsp: improvements for command messages 2020-08-21 20:07:30 +00:00
references.go internal/lsp/cache: ref-count snapshots 2020-08-03 22:08:54 +00:00
rename.go internal/lsp/source: add a FileSource interface 2020-10-19 16:07:06 +00:00
reset_golden.sh
semantic.go internal/lsp: revise some semantic token details 2020-11-24 12:36:21 +00:00
server.go internal/lsp: explicitly watch all known directories 2020-11-25 22:00:14 +00:00
server_gen.go internal/lsp: update lsp protocol stubs to match LSP 3.16 revisions 2020-10-27 18:00:23 +00:00
signature_help.go internal/lsp/cache: ref-count snapshots 2020-08-03 22:08:54 +00:00
symbols.go internal/lsp/cache: ref-count snapshots 2020-08-03 22:08:54 +00:00
text_synchronization.go internal/lsp: update modifications to directories at the LSP level 2020-12-01 01:59:40 +00:00
workspace.go internal/lsp: fix capability registration for semantic tokens 2020-11-16 18:11:12 +00:00
workspace_symbol.go