Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
x/tools/gopls: symbol returns matches from outside the workspace #37236
What version of Go are you using (
The only reason I questioned whether this was the intended behaviour or not is the discrepancy, under a very strict reading at least, between the fact the method is defined as returning workspace symbols but in fact returns symbols from outside the workspace.
If this is working as intended that's absolutely fine (and in many respects better). I'll add another comment to #37237 to also request a module scope.