Skip to content
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

Feature: Add command palette #2780

Closed
winston-de opened this issue Dec 30, 2020 · 5 comments · Fixed by #12977
Closed

Feature: Add command palette #2780

winston-de opened this issue Dec 30, 2020 · 5 comments · Fixed by #12977

Comments

@winston-de
Copy link
Contributor

Is your feature request related to a problem? Please describe.

One of my favorite features in Windows Terminal and Visual Studio Code is the command palette. It makes it very easy to quickly access commands from the keyboard without having to memorize a keyboard shortcut or grab the mouse and locate a button.

This would also be very helpful when trying to find a shell command, because there can be quite a few of them to sift through in a context menu:

image

I think this would also give Files more of an appeal over Windows Explorer, where finding the button you need is like finding a needle in a haystack.

Since Files is quickly gaining more features (which is great!), I think it may be worth considering this.

Describe the solution you'd like
A clear and concise description of what you want to happen.

A command pallet like the one in Windows Terminal would be nice.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Windows terminal command pallet:
image

Possible commands

  • shell context menu items for selection
  • cut, copy, paste selection
  • enable dual pane
  • switch to tab
  • new tab
  • close other tabs
  • go up directory
  • navigate back, forward
  • search
@heistema
Copy link
Contributor

heistema commented Jan 4, 2021

Would be awesome if this could get integrated into the search bar... So you have on bar for everything.

@winston-de
Copy link
Contributor Author

@yaichenbaum Great!

Code wise, I think the best way to go about this is to have all the commands/actions implement a single interface, and then adding them to a master list that a ListView (the commands) can bind to.

What are your thoughts?

@yaira2 yaira2 moved this to 🆕 New in Files task board Sep 8, 2022
@yaira2 yaira2 changed the title Command palette Feature: Add command palette Nov 7, 2022
@yaira2
Copy link
Member

yaira2 commented Nov 7, 2022

@cinqmilleans we haven't created a design for this yet but it'll be a good idea to keep this in mind when planning the shortcut work.

@yaira2 yaira2 moved this from 🆕 New to 📋 Planning stage in Files task board Feb 22, 2023
@yaira2 yaira2 moved this from 📋 Planning stage to 🏗 In progress in Files task board Feb 22, 2023
@QuaintMako
Copy link
Contributor

This feature might be a breeze to implement once we're done with Rich Commands?

@yaira2
Copy link
Member

yaira2 commented Mar 20, 2023

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants