Go to Symbol in Workspace...
strips all results if query contains *
or #
(and maybe others)
#171320
Labels
feature-request
Request for new features or functionality
quick-open
Quick-open issues (search, commands)
Milestone
Does this issue occur when all extensions are disabled?: Yes/No
Steps to Reproduce:
fn main() {}
functionGo to Symbol in Workspace...
action and typemain
, you should see the main function appear#
to the query (resulting infoo#
), the main function should still be listed (as rust-analyzer accepts this symbol to mean search for functions in current workspace only), but instead the entry for the function disappear.I confirmed that the actual unmodified query makes it to the rust-analyzer server, so something in a later stage of VSCode seems to remove all result entries if it encounters a
*
or#
in the query (and probably for even more symbols).I assume this is due to VSCode filtering by entries by prefix which seems unfortunate as rust-analyzer wants to be able to configure the search space via these symbols on the fly. Is there some way the extension can opt out of this filtering perhaps?
The text was updated successfully, but these errors were encountered: