Empty query for workspace/symbol
should return all symbols in the workspace
#9305
Closed
MatejKastak
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Pyright is focused on type checking. It has some basic language server support that is maintained by the Microsoft Pylance team. If you would like to suggest changes or enhancements to this functionality, please file an issue in the pylance-release issue tracker or discussion section. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, thank you for the pyright.
Based on the spec (WorkspaceSymbolParams) for query parameter:
But the implementation is directly ignoring the spec.
Question
What should I do in this case if I want the full list, and I acknowledge that it might be too big?
Would it be possible to return the full list for the empty query, for users that opt-in (for example via config)? So that you can at least opt-in to spec compliant behavior?
My motivation:
When searching for a symbol in the workspace, I would like to use filtering (fuzzy matching) from my editor, instead of the non-fuzzy matching of the query (which causes inconvenience when searching for symbols).
Beta Was this translation helpful? Give feedback.
All reactions