1
0
mirror of https://github.com/golang/go synced 2024-11-19 02:14:43 -07:00
go/internal/lsp/cache
Muir Manders ea203083f5 internal/lsp: add config flag to hide debugging output
Add a new "verboseOutput" config flag (defaults to "false") to enable
verbose go/packages and imports output. Previously this output was
always present.

The go/packages output would dump out the entire (humongous) "go list"
JSON response which would lock up my editor for a second whenever
something triggered a go/packages call.

The imports output would produce a bunch of "gopathwalk" debug
messages that aren't useful in general and in particular add noisy
output to tests.

Change-Id: Ie4693d074cb84f1397e0e51d7346dc9391bd1278
Reviewed-on: https://go-review.googlesource.com/c/tools/+/205138
Reviewed-by: Koichi Shiraishi <zchee.io@gmail.com>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-11-05 20:43:22 +00:00
..
analysis.go internal/lsp: add additional check for analysis value 2019-11-04 23:23:14 +00:00
builtin.go
cache.go
check.go
error_test.go
errors.go
external.go
file.go
gofile.go
load.go internal/lsp: fix race condition in metadata handling 2019-11-04 20:35:57 +00:00
parse.go
pkg.go internal/lsp/source: attach Package to completions when available 2019-11-05 20:21:09 +00:00
session.go
snapshot.go internal/lsp: use available type info for unimported completions 2019-11-04 21:31:10 +00:00
view.go internal/lsp: add config flag to hide debugging output 2019-11-05 20:43:22 +00:00
watcher.go