1
0
mirror of https://github.com/golang/go synced 2024-10-01 01:38:33 -06:00
go/gopls/internal/hooks
Rebecca Stambler 3304cfb00f internal/lsp: temporarily disable type error analyzers by default
If we release gopls/v0.4.0 soon, we should keep these new analyzers off
by default. They were just merged, so they haven't been used enough to
be enabled, I think. We'll turn them on by default for gopls/v0.5.0.

Also, ended up creating a helper function to check if analysis has been
abled (which fixed a small bug in FindAnalysisError), and another helper
function to enable all analyses for testing purposes.

Updates golang/go#38212

Change-Id: I5ee94b3582dfc0863978650fc6ce51bfa0606c13
Reviewed-on: https://go-review.googlesource.com/c/tools/+/226962
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rohan Challa <rohan@golang.org>
2020-04-02 16:54:32 +00:00
..
analysis.go internal/lsp: temporarily disable type error analyzers by default 2020-04-02 16:54:32 +00:00
diff_test.go gopls: use go-diff for edit generation 2019-10-10 20:18:25 +00:00
diff.go gopls: use go-diff for edit generation 2019-10-10 20:18:25 +00:00
hooks.go gopls: use mvdan.cc/xurls for textDocument/documentLink 2019-12-26 21:20:25 +00:00