1
0
mirror of https://github.com/golang/go synced 2024-11-18 20:04:52 -07:00
go/internal/lsp/cache
Rebecca Stambler 3af8461759 internal/lsp: associate code action diagnostics with suggested fixes
Instead of relying on the diagnostics cached on the package, use the
diagnostics sent by the code action when computing suggested fixes.

Change-Id: I77f7fd468b34b824c6c5000a51edbe0f8cc6f637
Reviewed-on: https://go-review.googlesource.com/c/tools/+/197097
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-09-24 23:33:35 +00:00
..
analysis.go internal/lsp: make the analyzers configurable per view 2019-09-23 16:54:13 +00:00
builtin.go internal/lsp: support running go mod tidy as a code action 2019-09-20 13:08:46 +00:00
cache.go internal/lsp: support running go mod tidy as a code action 2019-09-20 13:08:46 +00:00
check.go internal/lsp: only cache type information for active packages 2019-09-23 23:01:26 +00:00
external.go internal/lsp: only cache type information for active packages 2019-09-23 23:01:26 +00:00
file.go internal/lsp: support running go mod tidy as a code action 2019-09-20 13:08:46 +00:00
gofile.go internal/lsp: remove unnecessary "justOpened" field from goFile 2019-09-24 02:17:48 +00:00
load.go internal/lsp: only cache type information for active packages 2019-09-23 23:01:26 +00:00
modfile.go internal/lsp: support running go mod tidy as a code action 2019-09-20 13:08:46 +00:00
parse.go internal/lsp: fix infinite recursion while fixing AST 2019-09-19 16:27:28 +00:00
pkg.go internal/lsp: associate code action diagnostics with suggested fixes 2019-09-24 23:33:35 +00:00
session.go internal/lsp: remove unnecessary "justOpened" field from goFile 2019-09-24 02:17:48 +00:00
sumfile.go internal/lsp: support running go mod tidy as a code action 2019-09-20 13:08:46 +00:00
token.go internal/lsp: unlabel context, log errors when canceled 2019-08-20 20:39:21 +00:00
view.go internal/lsp: cache multiple packages depending on parse modes 2019-09-23 21:39:02 +00:00
watcher.go internal/lsp: fix deadlocks loading lots of files at once 2019-07-03 17:22:52 +00:00