Closed
Description
I originally posted this bug in the VS Code PowerShell extension GitHub repo, but after digging through the code found that the bug was actually in this repository.
Basically the issue is that if the user has defaulted the Get-Help
cmdlet's -Online
parameter to $true, such as by putting this line in their PowerShell Profile:
$PSDefaultParameterValues.Add("Get-Help:Online", $true)
Then Get-Help
will always launch a browser window. This causes an issue because VS Code (and other editors) use the getCommandHelp
provider to provide the text for intellisense and tooltips. So whenever the editor would normally show intellisense or a tooltip, it instead opens a browser window to the online help page of the cmdlet. You can see this demonstrated in this gif.
Metadata
Metadata
Assignees
Labels
No labels