1
0
mirror of https://github.com/golang/go synced 2024-10-01 09:38:36 -06:00
go/internal/lsp/source
Rebecca Stambler fdf1049a94 internal/lsp: determine diagnostics to show per-file, not per-package
Previously, if any one file in a package had a parse error, we would not
send type errors for any of the other files. Now we make this decision
per-file, so that, even if a file has parse errors, type errors in the
other files will be shown.

Fixes golang/go#32596

Change-Id: I086c04f0ec37cd1b33845153328faf368232d834
Reviewed-on: https://go-review.googlesource.com/c/tools/+/182466
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-06-18 16:30:18 +00:00
..
analysis.go internal/lsp: update analysis runner for new features 2019-06-14 15:20:01 +00:00
completion_format.go internal/lsp: build the packages config on demand from proper configuration 2019-05-21 17:12:43 +00:00
completion_snippet.go internal/lsp: build the packages config on demand from proper configuration 2019-05-21 17:12:43 +00:00
completion.go internal/lsp: suggest completions that satisfy interfaces 2019-06-17 19:08:20 +00:00
diagnostics_test.go internal/span: change URI.Filename so it just returns the filename 2019-06-10 21:39:43 +00:00
diagnostics.go internal/lsp: determine diagnostics to show per-file, not per-package 2019-06-18 16:30:18 +00:00
enums.go internal/lsp: switch completion item tests to using the enum strings 2019-04-17 17:57:43 +00:00
format.go internal/lsp: remove source.FileContent 2019-06-06 05:02:23 +00:00
highlight.go internal/lsp: build the packages config on demand from proper configuration 2019-05-21 17:12:43 +00:00
hover.go internal/lsp: attach documentation to signature help 2019-06-06 17:46:28 +00:00
identifier.go internal/lsp: fix some issues with trimming ASTs 2019-06-07 20:08:10 +00:00
references.go internal/lsp: add find all references 2019-06-10 19:06:22 +00:00
signature_help.go internal/lsp: fix some issues with trimming ASTs 2019-06-07 20:08:10 +00:00
source_test.go internal/span: change URI.Filename so it just returns the filename 2019-06-10 21:39:43 +00:00
symbols.go internal/lsp: build the packages config on demand from proper configuration 2019-05-21 17:12:43 +00:00
util.go internal/lsp: suggest completions that satisfy interfaces 2019-06-17 19:08:20 +00:00
view.go internal/lsp: use the memoize package to get *token.Files 2019-06-14 19:20:18 +00:00