go/internal/lsp/debug
Rebecca Stambler 66e72d03b2 internal/lsp: print the go version only once the view is created
Printing the Go version without the session's go command runner means
that we may not find the right Go version. Also, panicking when we
cannot find a go command is not useful to the user--show the error as a
view initialization error instead.

Fixes golang/go#41701

Change-Id: I0e0753da9795b1c78331db1faecd27c2bfcee9b4
Reviewed-on: https://go-review.googlesource.com/c/tools/+/258312
Trust: Rebecca Stambler <rstambler@golang.org>
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
2020-09-30 16:38:20 +00:00
..
tag internal/lsp: decouple client and server debug 2020-06-11 13:49:48 +00:00
info.1.11.go internal/lsp/debug: add newlines to debug messages 2019-06-12 17:36:44 +00:00
info.1.12.go internal/lsp/debug: add newlines to debug messages 2019-06-12 17:36:44 +00:00
info.go internal/lsp: print the go version only once the view is created 2020-09-30 16:38:20 +00:00
metrics.go internal/event: move event/core.Tag to event/label.Label 2020-04-23 18:13:33 +00:00
rpc.go internal/event: remove the event.eventType type 2020-04-27 15:30:19 +00:00
serve.go internal/lsp: fix builds and tests for go1.12+ 2020-08-27 14:30:46 +00:00
trace.go internal/event: remove the event.eventType type 2020-04-27 15:30:19 +00:00