mirror of
https://github.com/golang/go
synced 2024-11-19 03:04:42 -07:00
69e0dcfa11
Instead of calling packages.Load on every character change, we reparse the import declarations of the file and determine if they have changed. We also introduce a metadata cache that caches the import graph. This is used in type-checking and only updated on calls to packages.Load. Change-Id: I7cb384aba77ef3c1565d3b0db58e6c754d5fed15 Reviewed-on: https://go-review.googlesource.com/c/tools/+/165137 Reviewed-by: Ian Cottrell <iancottrell@google.com> Run-TryBot: Ian Cottrell <iancottrell@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> |
||
---|---|---|
.. | ||
cache | ||
cmd | ||
diff | ||
protocol | ||
source | ||
testdata | ||
completion.go | ||
diagnostics.go | ||
format.go | ||
imports.go | ||
lsp110_test.go | ||
lsp_test.go | ||
position.go | ||
server.go | ||
signature_help.go |