mirror of
https://github.com/golang/go
synced 2024-11-18 12:54:44 -07:00
0cdb17d11b
This change expands the scope of a workspace to the whole module, if the user is in module mode. This means that diagnostics will appear and will be updated for the whole module, even if the user only opens a subdirectory. Similarly, references and other such queries will always return consistent results, no matter which directory the user opens. A new "root" field is added to the view. This is either the view's folder or its module root. Almost all uses of view.folder have been changed to view.root. Updates golang/go#32394 Change-Id: I46f401f7c44b1b8429505aa032e0c15e88c4e2ef Reviewed-on: https://go-review.googlesource.com/c/tools/+/244117 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> |
||
---|---|---|
.. | ||
analysis.go | ||
cache.go | ||
check.go | ||
error_test.go | ||
errors.go | ||
keys.go | ||
load.go | ||
mod_tidy.go | ||
mod.go | ||
os_darwin.go | ||
os_windows.go | ||
parse.go | ||
pkg.go | ||
session.go | ||
snapshot.go | ||
view_test.go | ||
view.go |