IntelliSense with respect to script files (.ps1) that have comment-based help - as opposed to functions - currently has the following problems:
* Their synopsis is _not_ shown, because their [comment-based help](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_Comment_Based_Help) is seemingly not consulted.
* The formatting of their syntax diagrams is broken: they individual diagrams aren't separated with empty lines and instead form one long string without line breaks, resulting in arbitrary line wrapping. Situationally - as in the repro below - no syntax diagrams are shown at all.
Prerequisites
Summary
IntelliSense with respect to script files (
.ps1
) that have comment-based help - as opposed to functions - currently has the following problems:PowerShell Version
Visual Studio Code Version
Extension Version
Steps to Reproduce
Run
(Get-Help ./Foo.ps1).synopsis
and(Get-Help ./Foo.ps1).syntax
to verify that both the comment-based helpIn Visual Studio Code, in the same folder, type
./Foo
in order to show IntelliSenseAs the screenshot shows, neither the description nor the syntax diagrams are shown.
Visuals
Logs
No response