microsoft / microsoft/PowerToys

Run here: run single/multiple command(s) from context menu

Open
#46,892 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Idea-New PowerToy Needs-Triage Product-Command Palette
Dominant language
C
Stars
139k
Forks
8.6k
PR merge metrics
PR metrics pending

Description

Description of the new feature / enhancement

Command palette does similar thing. However, things like these:

npm run dev

php -S 127.0.0.1:8888

code .

...are required to run in specific folder, the command palette can't do this currently.

So, run here is used in context menu, it allows users to add command and provide a list in context menu, so that we don't need to open a command prompt to run these single command.

Scenario when this would be used?

If a command is frequently used, this feature just requires (probably) 2 clicks to run. No need to open the command prompt and type the same command again and again.

Supporting information
-----------------------
|   Run here        > |  |-------------------|
-----------------------  | PHP Local Server  |
                         | NPM Dev           |
                         | Open in VS Code   |
                         |-------------------|

Some software actually implemented this for themselves. However, to have a single entrance would be great.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the existing Command Palette and context-menu entry points to understand how commands are exposed and which folder is available as the working directory. Define how users add commands, support single or multiple commands, and display them under a Run here submenu. Done means configured commands can be launched from the context menu in the selected folder.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.