Skip to content

[Command Explorer] Configuration Options #1677

Closed as not planned
Closed as not planned

Description

@wsmelton

Summary of the new feature

Have the ability to configure a few options for the command explorer:

  1. Filter modules, just exclusions

Anyone that uses AzureRM or the Az module has commonly found that majority of the "noise" in the command explorer for the ISE was taken up by that module. Having the ability to filter out the modules would allow users to more easily find modules they may want to work with in a particular workspace. (e.g. If I'm working on say something with dbatools then I don't need to see modules like AzureRm and Az in that list, because they may not pertain to the project.)

  1. Group By

As it stands the commands are listed by letter. I would like to be able to have them listed by module right off, it offers a more focused discovery on whatever project I may need to use a module. I can find that module listed faster and discover the commands around it.

Proposed technical implementation details (optional)

I would think having the filter ability would be having a configuration like powershell.cmdexplorer.filter and the value provided be comma separated list (much like the font setting in Code supports. So something like:

"powershell.cmdexplorer.filter": "'Az','AzureRm','Microsoft.PowerShell.Security'"

For the group by I would expect it only to support certain values, so it could start out by allowing group by feature for modules. If any additional ideas come up they just be setup as keywords that have to be provided based on what you want to group by. The default would be letters so it does not effect those that have gotten used to the current setup.

"powershell.cmdexplorer.listby": "letter"
"powershell.cmdexplorer.listby": "module"
"powershell.cmdexplorer.listby": "verb"

Activity

  1. SydneyhSmith commented on Jan 3, 2019

    @SydneyhSmith
    Collaborator

    Shawn Melton (@wsmelton) thanks for this request, seems like a reasonable enhancement. The command explorer is a community driven feature, so I am marking it as "up for grabs", feel free to submit a pr 😄

  2. corbob commented on Jan 8, 2019

    @corbob
    Contributor

    I've done up a proof of concept for an exclusion filter. The sorting one may take more thought, and might not be needed if we can get a search box.

    I'll put together a PR and start to clean it up a bit.

  3. andyleejordan commented on Jun 16, 2026

    @andyleejordan
    Member

    Closing this during a backlog-triage pass. This enhancement request has had little or no activity since ~2019 and isn't on the current roadmap. That's not a judgment on the idea — if it's still something you'd like, please leave a comment or open a fresh issue with an up-to-date use case and we'll gladly reconsider. Thanks for the original suggestion!

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

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions