Stream: t-compiler/wg-rls-2.0

Topic: all results in workspace symbol


Ivan Molodetskikh (Aug 07 2019 at 22:20, on Zulip):

Hello! I'm using rust-analyzer with LanguageClient-neovim and as far as I understand its workspace symbol implementation queries the language server once, and then presents everything it has returned as a fuzzy-searchable FZF buffer. The most convenient workflow here is to use an empty query and then fuzzy-search across all returned symbols. However, with rust-analyzer this means that only types are returned and not functions. Is there some option to make rust-analyzer return everything on an empty query?

matklad (Aug 08 2019 at 07:48, on Zulip):

I think the client should re-query the server when the query string changes

matklad (Aug 08 2019 at 07:48, on Zulip):

all symbols from your crate, deps and stdlib is a lot

matklad (Aug 08 2019 at 07:49, on Zulip):

We also have some query-level hacks to workaround VS Code UI limitations (# and * characters filter the query): https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/user/features.md#workspace-symbol-ctrlt

Last update: Nov 12 2019 at 16:35UTC