Skip to content

Show-Command like panel #1405

Closed
Closed

Description

@corbob

Summary of the new feature

ISE has a pane for Show-Command. It would be good to have something similar to this in VS Code.

Numerous users have expressed the lack of this feature for why they don't use VS Code for PowerShell.

Proposed technical implementation details (optional)

A side bar view for this seems to make the most sense.

Activity

  1. corbob commented on Nov 29, 2018

    @corbob
    ContributorAuthor

    Just putting some thoughts out there so I don't lose them.

    I've created a project on my fork for this, adding cards for small chunks as I think of them or encounter someone mentioning it. The project is here: https://github.com/corbob/vscode-powershell/projects/1

    Unfortunately due to this issue: microsoft/vscode#50062 We may not be able to get searching working just yet. My focus will be around what's available to us today and if we get search/filter in the future then we can work on that.

  2. Ayanmullick commented on Oct 30, 2021

    @Ayanmullick

    Rob Holt (@rjmholt), Andy Jordan (@andschwa), PFB the features missing from the VSC PowerShell extension's Command Explorer, as discussed during the Community call for October 21.




    1. Filter by modules

    2. Search for specific cmdlets

    3. Fill out specific parameter sets

    4. Add common parameters

    5. Insert filled out cmdlet

  3. SeeminglyScience commented on Nov 10, 2021

    @SeeminglyScience
    Collaborator

    Personally I'd really like to see some work put into this extension's API to give the community the tools to provide a separate extension with this functionality.

  4. nthoman commented on Mar 28, 2023

    @nthoman

    If you want Visual Studio Code and PS7 to be successful you need to include this functionality into the plugin. ISE mode and the command bar has been vital to grow my skills (and many others) in PowerShell since its introduction. It allows one to quickly filter commands and find examples how to use them correctly. By excluding this functionality you are increasing the barrier of entry for PowerShell 7. If you are experienced with PowerShell then VSC is fine and you can get by. I am constantly teaching inexperienced staff on my team on how useful PowerShell can be to simplify repetitive operational tasks and encourage them to get familiar with it. However I find the VSC way too "opaque" and usually just fall back to the original ISE.

    For example... in the new way... how can one filter all the commands (Visually) related to SharePoint Online in the Command Explorer? In ISE I could just type "SPO" or filter the module to "Microsoft.Online.SharePoint.PowerShell". Being able to browse through this list and click on each command helps one learn the capabilities quickly. I remember sitting through a lecture during Ignite\TechEd in the largest theater when a lead developer was demonstrating PowerShell's use with Azure and had to do this live because the command he was trying to demo was not working right and said "Even the creator has to look things up". (Paraphrasing... it was years ago.)

    You need to keep your "newbie" hats on when releasing tools. ISE was the perfect "Newbie" tool and is still far superior till what is available in 7 right now. However... don't get me wrong... I love where you are going with VSC. I really like how if you do know the command you want to use... it displays your options as you type. Very slick.

  5. n0spaces commented on Aug 19, 2024

    @n0spaces

    I decided to take a stab at this, and I built a command info view panel that works fairly well, aside from styling and probably some edge cases. I think I agree that the extension API should be improved so this could be implemented in a separate extension, but if you'd like this to be part of the main extension, then I'd be happy to clean this up and submit a PR!

    image

  6. Ayanmullick commented on Aug 19, 2024

    @Ayanmullick

    Looks good, Matt Schwartz (@n0spaces). Can one filter the cmdlets by module name?

  7. n0spaces commented on Aug 19, 2024

    @n0spaces

    Looks good, Matt Schwartz (@n0spaces). Can one filter the cmdlets by module name?

    No, I'm just focusing on the Command Info panel for now, although adding a filter to the Command Explorer sounds pretty straightforward.

    Worth noting that you can exclude modules in the configuration thanks to #1686, but you can't filter in the UI yet.

  8. andyleejordan commented on Jun 15, 2026

    @andyleejordan
    Member

    The Command Explorer view (in the PowerShell side bar) provides a Show-Command-like panel for browsing and inserting commands. Closing as implemented; refinements like sorting are tracked separately (e.g. #1993).

    🤖 Drafted by GitHub Copilot at Andy Jordan (@andyleejordan)'s request — pending maintainer review.

  9. Ayanmullick commented on Jun 16, 2026

    @Ayanmullick

    The Command Explorer view (in the PowerShell side bar) provides a Show-Command-like panel for browsing and inserting commands. Closing as implemented; refinements like sorting are tracked separately (e.g. #1993).

    🤖 Drafted by GitHub Copilot at @andyleejordan's request — pending maintainer review.

    Is there an issue tracking ability to interact with parameter sets and common parameters?

  10. andyleejordan commented on Jun 16, 2026

    @andyleejordan
    Member

    #5508 rewrites the command explorer to be performant (such that it's actually usable) and adds a hover to the found commands which shows their help (which includes parameters).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions