mirror of
https://github.com/golang/go
synced 2024-11-19 05:34:40 -07:00
f191eec953
This change modifies the behavior of the GetReverseDependencies function used for diagnostics. Since we now return diagnostics for the entire workspace, we don't have to worry if a file is open to show errors in it. This change requires the addition of a new (*snapshot).PackageHandle function that gets a CheckPackageHandle for a given package ID. This function does not cause a re-load of the package metadata, though if we feel that this is something we need in the future we can add it. Change-Id: I863bdf284d15f2317d8fae395928a90b9455146b Reviewed-on: https://go-review.googlesource.com/c/tools/+/208102 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> |
||
---|---|---|
.. | ||
comment_test.go | ||
comment.go | ||
completion_format.go | ||
completion_keywords.go | ||
completion_labels.go | ||
completion_literal.go | ||
completion_snippet.go | ||
completion.go | ||
deep_completion.go | ||
diagnostics.go | ||
errors.go | ||
folding_range.go | ||
format.go | ||
highlight.go | ||
hover.go | ||
identifier.go | ||
implementation.go | ||
options.go | ||
references.go | ||
rename_check.go | ||
rename.go | ||
signature_help.go | ||
source_test.go | ||
suggested_fix.go | ||
symbols.go | ||
tidy.go | ||
util.go | ||
view.go |