Commit c3cb1f1
gopls/internal/mcp: add top level symbols from current package
When adding context against the current package based on the input
file URI, write both the exported and unexported symbols.
Providing context against the current file over the other files in
current package.
For golang/go#73580
Change-Id: Ica2166b8b005badcbf5b81e2714e5d326d29e7e0
Reviewed-on: https://go-review.googlesource.com/c/tools/+/677537
Auto-Submit: Hongxiang Jiang <hxjiang@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Alan Donovan <adonovan@google.com>1 parent effd83e commit c3cb1f1
File tree
2 files changed
+441
-233
lines changed- gopls/internal
- mcp
- test/marker/testdata/mcptools
2 files changed
+441
-233
lines changed
0 commit comments