-
Notifications
You must be signed in to change notification settings - Fork 815
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
Show all commands in command palette #4111
Comments
I think this is very good idea. |
Just to make sure I'm understanding correctly - does this mean when the search box is empty, we show everything? |
Just to add context (not really to answer that question), this stems from this conversation on Discord, as far as I can tell. In terms of my own ideas on it: I'm not a huge fan of "show everything by default", but I can see the value in "cursor down when empty shows everything". |
We might want to have some mechanism to cherry pick the commands we show, just so it doesn't get too large. But I do think they should show when the input is empty. |
Picking this up... defining characteristics of the enhancement request so far:
My initial feeling is that the bulk of the work here is around deciding and implementing the latter; my gut reaction is that one or more of the following could be approaches (just thinking out loud before diving back into the code):
One question stands out right away:
Seems that alphabetical order would make sense. |
Could we use the order that would be used when the search value is |
That would mean that every |
Do we really want to search? I was thinking each provider would offer up some text that tells the user what it accepts. Like ("Help", "Show the help screen.") or ("open FILENAME", "Open a file.") |
Works for me! I think that's pretty much what I had in mind with the |
Don't forget to star the repository! Follow @textualizeio for Textual updates. |
When I'd like to explore an app, I would want to see all available commands available in the command palette just by pulling it up, just like VS Code does it.
The text was updated successfully, but these errors were encountered: