-
Notifications
You must be signed in to change notification settings - Fork 510
Inserting help inside a function is broken #1509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for the info! Can you also attach the logs here so we can get a better idea of what's going on? |
Also, if you could provide a screenschot and some sort of repro that'd be really appreciated! |
Same problem here. Logs and screenshots in the attached .zip. Repo: create a new powershell file, paste the following and type ## on line 2. (Same as issue #1488.)
It turns into this:
|
@rjmholt I'm having the same issue. I have installed the extension build but still experience the incorrect behaviour. I have also changed to the user version of the install but the issue persisted.
|
Yup, I can repro. In 1.8.4 if you use |
Using VS Code to write PowerShell scripts. When writing an Advance function I used to be able to type '##' (that's a double hash) at the top of the function between the function name and the [cmdletbinding()] and it would automatically add the PowerShell help descriptions.
Now when I do this it doesn't add the help but breaks all of my formatting.
I logged a previous bug report but was told this is fixed in the current version, #1493.
Still broken sorry. :(
Can someone please fix this awesome feature. Thanks!
Kind regards
Garry
System Details
Major Minor Build Revision
1 8 4 0
PSVersion 5.1.17134.228
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17134.228
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
The text was updated successfully, but these errors were encountered: