You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get Help for Command in right-click menu has different behaviour then command bar PowerShell: Get Help for Command.
The right-click menu gets online help for the Get-Help cmdlet. Where as the command bar actually returns the online help for the specified cmdlet under the cursor.
This is also happening in the Preview extension. The only thing I can think is that VSCode doesn't have a cursor when you right click and so it doesn't know what to send (and the default is get-help).
Perhaps the default should be to return a message that we didn't run it because there was no command sent?
It would seem that when we added the Command Explorer and added an optional parameter to the vscode command to show help that right click passes an object in. This object doesn't have a name which is what we use from Command Explorer. I've got a fix and will create a PR in the morning to get this fixed.
Issue Description
Get Help for Command in right-click menu has different behaviour then command bar PowerShell: Get Help for Command.
The right-click menu gets online help for the
Get-Help
cmdlet. Where as the command bar actually returns the online help for the specified cmdlet under the cursor.Attached Logs
logs.zip
Environment Information
Visual Studio Code
PowerShell Information
Visual Studio Code Extensions
Visual Studio Code Extensions(Click to Expand)
The text was updated successfully, but these errors were encountered: