1
0
mirror of https://github.com/golang/go synced 2024-11-18 18:04:46 -07:00
go/internal/lsp/cache
Rebecca Stambler 6fc5d0bc36 internal/lsp: print view-specific environment
For debugging purposes, we print the output of `go env` on start. Now,
we print a view-specific `go env`, which will helps us when debugging
multi-project workspaces. Additional information included: the folder of
the view, if the view has a valid build configuration, and the build
flags for the view.

Updates golang/go#37978

Change-Id: Iadffd46f8ac5410971558a304b8bbcb2f9bdbcc3
Reviewed-on: https://go-review.googlesource.com/c/tools/+/225137
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2020-03-24 20:15:47 +00:00
..
analysis.go internal/telemetry: add type safe tag keys 2020-03-18 13:29:43 +00:00
cache.go internal/lsp: move the debug.Instance onto the Context 2020-03-03 22:54:53 +00:00
check.go internal/telemetry: add type safe tag keys 2020-03-18 13:29:43 +00:00
debug.go internal/lsp/lsprpc: add a handshake between forwarder and remote 2020-02-24 22:51:04 +00:00
error_test.go internal/lsp: refactor error handling code in type-checking 2019-10-21 18:57:46 +00:00
errors.go internal/lsp: move the telemetry package 2020-03-18 13:22:49 +00:00
external.go internal/lsp: move the telemetry package 2020-03-18 13:22:49 +00:00
load.go internal/lsp: print view-specific environment 2020-03-24 20:15:47 +00:00
mod.go internal/lsp: fix nil pointer in 'go mod why' logic 2020-03-24 16:11:17 +00:00
parse.go internal/lsp: move the telemetry package 2020-03-18 13:22:49 +00:00
pkg.go internal/lsp: add module versions from "go list" to pkg.go.dev links 2020-02-19 19:55:21 +00:00
session.go internal/lsp: migrate telemetry to using the event package 2020-03-12 03:59:16 +00:00
snapshot.go internal/lsp: never reload command-line-arguments directly 2020-03-24 17:58:52 +00:00
view.go internal/lsp: print view-specific environment 2020-03-24 20:15:47 +00:00