1
0
mirror of https://github.com/golang/go synced 2024-11-18 23:05:06 -07:00
go/internal/lsp
Rebecca Stambler f68ef2071d internal/lsp: enable "ignoreFuncBodies" and fix caching
This change enables the trimmed ASTs behavior and fixes the broken
tests by caching parse errors along with the ASTs that are being reused.

Change-Id: Ia8e7cdb138c62a8be88659f801506e03f213fe8c
Reviewed-on: https://go-review.googlesource.com/c/tools/+/181357
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-06-10 18:14:45 +00:00
..
browser
cache internal/lsp: enable "ignoreFuncBodies" and fix caching 2019-06-10 18:14:45 +00:00
cmd internal/lsp: add some basic tests for imports 2019-06-03 23:13:51 +00:00
debug internal/lsp: add memory debugging page 2019-06-03 17:43:05 +00:00
diff
protocol internal/lsp: send void client response to client/registerCapapbility 2019-05-30 18:43:49 +00:00
snippet
source internal/lsp: fix some issues with trimming ASTs 2019-06-07 20:08:10 +00:00
testdata internal/lsp: add some basic tests for imports 2019-06-03 23:13:51 +00:00
tests internal/lsp: add some basic tests for imports 2019-06-03 23:13:51 +00:00
xlog
code_action.go internal/lsp: add structured layers to the cache 2019-05-16 21:30:38 +00:00
completion.go internal/lsp: fix completion insertion 2019-05-17 18:32:58 +00:00
definition.go internal/lsp: attach documentation to signature help 2019-06-06 17:46:28 +00:00
diagnostics.go internal/lsp: add modfile, sumfile structs, require Go files for diagnostics 2019-05-24 21:02:28 +00:00
format.go internal/lsp: add structured layers to the cache 2019-05-16 21:30:38 +00:00
general.go internal/lsp: support build flags on processConfig 2019-06-03 21:18:25 +00:00
highlight.go internal/lsp: add structured layers to the cache 2019-05-16 21:30:38 +00:00
hover.go internal/lsp: attach documentation to signature help 2019-06-06 17:46:28 +00:00
link.go internal/lsp: build the packages config on demand from proper configuration 2019-05-21 17:12:43 +00:00
lsp_test.go internal/lsp: fix some issues with trimming ASTs 2019-06-07 20:08:10 +00:00
reset_golden.sh
server.go internal/lsp: remove SelectionRange and textDocument/selectionRange 2019-05-24 12:55:31 +00:00
signature_help.go internal/lsp: reply with nil, rather than empty, signature help 2019-06-08 02:21:20 +00:00
symbols.go internal/lsp: add structured layers to the cache 2019-05-16 21:30:38 +00:00
text_synchronization.go internal/lsp: add an implementation for textDocument/didSave 2019-06-10 16:29:40 +00:00
util.go internal/lsp: remove source.FileContent 2019-06-06 05:02:23 +00:00
workspace.go internal/lsp: build the packages config on demand from proper configuration 2019-05-21 17:12:43 +00:00