-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/tools/gopls: support workspace/Symbol request #33844
Comments
Thank you for filing a gopls issue! Please take a look at the Troubleshooting section of the gopls Wiki page, and make sure that you have provided all of the relevant information here. |
helm-lsp needs it. |
Just to confirm, |
|
So is there nothing that corresponds to the package level? |
Not that I am aware of - how would that be displayed by the editor? |
That does sound like a good feature. I encourage you to open up an issue with LSP :) |
Change https://golang.org/cl/213317 mentions this issue: |
I sent a change because I'd like to use |
This change adds support for the LSP workspace/symbol. Unlike documentSymbol, the target is symbols that exist not only in a specific file, but also in the current or imported packages. It returns symbols whose name contains the query string of the request(case-insensitive), or all symbols if the query string is empty. However, the following is not implemented: - Setting of deprecated and containerName fields in SymbolInformation - Consideration of WorkspaceClientCapabilities - Progress support - CLI support Updates golang/go#33844 Change-Id: Id2a8d3c468084b9d44228cc6ed2ad37c4b52c405 Reviewed-on: https://go-review.googlesource.com/c/tools/+/213317 Reviewed-by: Rebecca Stambler <rstambler@golang.org> Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Change https://golang.org/cl/218737 mentions this issue: |
This change allows to use fuzzy or case-sensitive matchers in addition to case-insensitive when searching for symbols. Matcher is specified by UserOptions.Matcher just like Completion. Updates golang/go#33844 Change-Id: I4000fb7984c75f0f41c38d740dbe164398032312 Reviewed-on: https://go-review.googlesource.com/c/tools/+/218737 Reviewed-by: Rebecca Stambler <rstambler@golang.org> Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
@stamblerre
If not required, I'd like to implement CLI support for workspace/symbol as the last CL in this issue. |
Thanks for your work on this, @daisuzu! The features you mentioned above don't need to be added.
That would be great - thanks! |
Sure! Thank you for reviewing CLs. |
Forked from microsoft/vscode-go#954.
The text was updated successfully, but these errors were encountered: