Description
This is a suggestion for a new major feature: a command palette to perform certain actions by opening a flyout and typing keywords. You might know this from Vs Code or other IDE's.
SourceGit offers many many features, but I sometimes struggle with finding what I'm looking for. And every now and then somebody opens an issue for an existing feature, so I'm going to assume I am not alone in this.
Advantages:
- makes it easier to discover SourceGit's features (e.g. if a user wants to know if sourcegit supports checking file history, they could simply enter "history" in the command palette to see if any results are found)
- support for even more keyboard focused workflow
- don't have to remember key bindings
- quicker than opening and selecting options from context menus
Challenges:
- lots of work
- does not make sense for all actions
Git-Fork actually supports this, here are some examples of what it looks like:
Implementing this would be a lot of work. I suggest collecting opinions and compiling a list on which actions would make sense to be offered in this way. This would help to estimate if this feature would find adoption.
A few examples for existing actions that could be offered through the command palette:
- Custom Actions
- File History
- Checkout Branch
- Fetch/Push/Pull
- Merge Branch
- Open Preferences / Repository Configuration
- Search Commit / Branch / Tag
- Stash
- Open remote in browser
- Open in console / file browser
- Open logs