1
0
mirror of https://github.com/golang/go synced 2024-10-01 01:18:32 -06:00
go/internal/lsp
Rebecca Stambler 8bdde6d5f2 internal/lsp: create new cache for each analysis
Because diagnostics computations happen in parallel, we were getting
concurrent map writes by keeping one cache.

Change-Id: Ifa5adffe14c509168c9f8c5cb012f3fcd3a32441
Reviewed-on: https://go-review.googlesource.com/c/163161
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
2019-02-20 22:52:34 +00:00
..
cache internal/lsp: create new cache for each analysis 2019-02-20 22:52:34 +00:00
cmd internal/lsp: remove error return values from interface "field" accessors 2019-02-13 21:58:50 +00:00
diff internal/lsp/diff: fix bug that adds extra line to files on format 2019-02-13 04:28:36 +00:00
protocol internal/lsp: allow ExecuteCommandParams to be nil 2019-02-13 22:34:05 +00:00
source internal/lsp: create new cache for each analysis 2019-02-20 22:52:34 +00:00
testdata internal/lsp/diff: fix bug that adds extra line to files on format 2019-02-13 04:28:36 +00:00
completion.go internal/lsp: add additional tests for completion 2018-12-19 22:27:14 +00:00
diagnostics.go internal/lsp: connect basic analysis functionality 2019-02-06 21:48:25 +00:00
format.go internal/lsp: change File.Read to a File.GetContent accessor 2019-02-14 04:36:41 +00:00
imports.go internal/lsp: change File.Read to a File.GetContent accessor 2019-02-14 04:36:41 +00:00
lsp110_test.go internal/lsp: add more testdata for completion and diagnostics 2018-11-20 06:06:34 +00:00
lsp_test.go internal/lsp: change File.Read to a File.GetContent accessor 2019-02-14 04:36:41 +00:00
position.go internal/lsp: remove error return values from interface "field" accessors 2019-02-13 21:58:50 +00:00
server.go internal/lsp: remove error return values from interface "field" accessors 2019-02-13 21:58:50 +00:00
signature_help.go internal/lsp: implement signature help 2018-11-13 20:09:34 +00:00