Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Add a spec for the Command Palette #2193
Add a spec for the Command Palette #2193
Changes from 7 commits
104e5ac
457119c
f2ceab4
7e03fdf
f0e95cf
d6b0eee
9daeb8c
53edf61
f5b9a51
593a561
afa5422
175f007
c782006
38f862c
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should possibly suggest a fuzzy matching algorithm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant a specific algorithm :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
link to the one you have in mind? I came up with a really rough one for the prototype, but nothing official
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
scary. i don't like the idea of keying off name.
What about localized names, if we support localization?
When you edit a command binding in the new UI, does it automatically update keybindings that hit it?
Not a huge fan, for the intricacies. Commands and Keybindings should be an abstraction over actions only.
Here's a thought, though: If we want to support chained actions (one command does N things -- new tab, split horz, split vert, focus left)... should we just let the user define new actions, and use those in both commands AND keybinds?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, this is good feedback. I'll pull that one.
I like the idea of chained actions. Maybe we should have an action for it?