Ctrl+Space should show what module a command is from

Open
#4,940 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp, powershell
Domain
cli

Research direction

Start by tracing the Ctrl+Space UI and the command collection it returns. Determine how command names are presented and how module information can be obtained, then make the completion display identify each command's module; if configurability is retained, expose it through Get-PSReadLineOption. Done means Ctrl+Space distinguishes similarly named commands by module.

Written by the indexing model from the issue text.

Description

Issue-Enhancement Needs-Triage :mag:
Prerequisites
  • Write a descriptive title.
Description of the new feature/enhancement

This is a small UX improvement that I don't think would be too difficult to add (may want this to be a configurable option added to Get-PSReadLineOption) as to ensure that you are using the command that you want to from the correct module.

It saves a need for instead doing get-command register-ps* which was how I found this due to PowerShellGet/PSResourceGet having similar named commands

Proposed technical implementation details (optional)

UI change from the collection that is returned form CTRL+Space when you are typing a command

Dominant language
C#
Stars
4.4k
Forks
341
PR merge metrics
No merged PRs in 30d

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.

More from PowerShell/PSReadLine

All issues in PowerShell/PSReadLine

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.