-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gopls: add initial support for pull diagnostics
Implement the scaffolding for pull diagnostics. For now, these are only supported for Go files, only return parse/type errors for the narrowest package in the default view, do not report related diagnostics, and do not run analysis. All of these limitations can be fixed, but this implementation should be sufficient for some end-to-end testing. Since the implementation is incomplete, guard the server capability behind a new internal "pullDiagnostics" setting. Wire in pull diagnostics to the marker tests: if the server supports it ("pullDiagnostics": true), use pull diagnostics rather than awaiting to collect the marker test diagnostics. For golang/go#53275 Change-Id: If6d1c0838d69e43f187863adeca6a3bd5d9bb45d Reviewed-on: https://go-review.googlesource.com/c/tools/+/616835 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Alan Donovan <[email protected]>
- Loading branch information
Showing
18 changed files
with
339 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.