PowerShell / PowerShell/PowerShellEditorServices

Add Keyboard Shortcut to Register-EditorCommand

Open
#630 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-psEditor Area-Tasks Issue-Enhancement
Dominant language
C#
Stars
767
Forks
266
Avg merge
3d 16h
Merged PRs (30d)
1

Description

This might just be me, but I would love to see an additional parameter for Register-EditorCommand to define a keyboard shortcut. Right now, I have to manually add a keyboard shortcut, which I suppose isn't that difficult now that I know how. But figuring that out took some time since I couldn't find any useful documentation. It would be much easier to make this part of the register command.

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 locating the Register-EditorCommand entry point and reviewing how commands and keyboard shortcuts are currently registered. Clarify the parameter's intended shortcut behavior and verify that registration and its documentation cover the new option.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.