Open podtserkovskiy opened 4 months ago
Similar Issues
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
Thanks, this is a bug: the check
subcommand is meant to wait for all outstanding diagnostics.
Separately, we also want to prioritize support for pull diagnostics, so we will aim to address this in the v0.17 release.
@findleyr In the meantime, could you suggest another command that can be used as a smoke integration test of gopls and a custom GOPACKAGESDRIVER
? Any command that traverses imports and validates all packages has been found should work for this purpose
@podtserkovskiy you may have luck with golang.org/x/tools/go/packages/gopackages
.
For example:
$ gopackages -json -mode=syntax . | jq .Errors
gopls version
0.15.3
go env