vscode-powershell icon indicating copy to clipboard operation
vscode-powershell copied to clipboard

Show-Command like panel

Open corbob opened this issue 6 years ago • 7 comments

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.

corbob avatar Jul 08 '18 05:07 corbob

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: https://github.com/Microsoft/vscode/issues/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.

corbob avatar Nov 29 '18 03:11 corbob

@rjmholt, @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

Ayanmullick avatar Oct 30 '21 02:10 Ayanmullick

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.

SeeminglyScience avatar Nov 10 '21 14:11 SeeminglyScience

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.

nthoman avatar Mar 28 '23 14:03 nthoman