1
0
mirror of https://github.com/golang/go synced 2024-11-18 23:05:06 -07:00
go/internal/lsp
Rebecca Stambler 60bb3025ec internal/lsp: fix race condition in caching
This change fixes a race condition in the metadata caching logic.
Also, some minor fixes to comments and invalidation logic (it's not
necessary to invalidate ASTs when a package is invalidated).

Change-Id: I927bf6fbc661a86ef0ba99b29a9ed979cd1eb95d
Reviewed-on: https://go-review.googlesource.com/c/tools/+/190317
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-08-14 16:34:44 +00:00
..
browser
cache internal/lsp: fix race condition in caching 2019-08-14 16:34:44 +00:00
cmd internal/lsp: fix data race in cmd tests 2019-08-13 03:47:49 +00:00
debug internal/lsp: new tracing system 2019-07-18 23:00:54 +00:00
diff internal/lsp: enable incrementalSync by default 2019-06-26 20:40:24 +00:00
fuzzy internal/lsp: add fuzzy completion matching 2019-08-14 16:13:50 +00:00
protocol internal/lsp: use x/xerrors to create new errors 2019-08-06 19:46:56 +00:00
snippet
source internal/lsp: add fuzzy completion matching 2019-08-14 16:13:50 +00:00
telemetry internal/lsp: don't deep complete struct field names 2019-08-13 21:38:55 +00:00
testdata internal/lsp: add fuzzy completion matching 2019-08-14 16:13:50 +00:00
tests internal/lsp: don't deep complete struct field names 2019-08-13 21:38:55 +00:00
code_action.go internal/lsp: use memoize package to cache source.Packages 2019-08-13 21:41:43 +00:00
completion.go internal/lsp: add fuzzy completion matching 2019-08-14 16:13:50 +00:00
definition.go internal/lsp: minor refactoring for source.Identifier 2019-08-07 20:13:05 +00:00
diagnostics.go internal/lsp: convert logging calls 2019-07-18 19:03:12 +00:00
format.go internal/lsp: cache the *ast.File and *token.File on the package 2019-07-16 19:44:59 +00:00
general.go internal/lsp: support an experimental structured hover format 2019-08-12 21:55:50 +00:00
highlight.go internal/lsp: convert logging calls 2019-07-18 19:03:12 +00:00
hover.go internal/lsp: support an experimental structured hover format 2019-08-12 21:55:50 +00:00
link.go internal/lsp: use x/xerrors to create new errors 2019-08-06 19:46:56 +00:00
lsp_test.go internal/lsp: don't deep complete struct field names 2019-08-13 21:38:55 +00:00
references.go internal/lsp: minor refactoring for source.Identifier 2019-08-07 20:13:05 +00:00
rename.go internal/lsp: minor refactoring for source.Identifier 2019-08-07 20:13:05 +00:00
reset_golden.sh
server.go internal/lsp: support an experimental structured hover format 2019-08-12 21:55:50 +00:00
signature_help.go internal/lsp: convert logging calls 2019-07-18 19:03:12 +00:00
symbols.go internal/lsp: reduce trace package to minimal StartSpan for now 2019-07-11 17:25:55 +00:00
text_synchronization.go internal/lsp: add fuzzy completion matching 2019-08-14 16:13:50 +00:00
util.go internal/lsp: use x/xerrors to create new errors 2019-08-06 19:46:56 +00:00
workspace.go internal/lsp: use x/xerrors to create new errors 2019-08-06 19:46:56 +00:00