-
Notifications
You must be signed in to change notification settings - Fork 510
HelpMessage parameter attribute does not dispay inside VSCode terminal #836
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
@anwather This message has some serious formatting issues. Can you please fix up the Markdown? I was able to reproduce the same behavior, where you're not prompted to use Would need @rkeithhill to weigh in on why the Integrated Terminal doesn't behave the same way as PowerShell Console Host. Is this something to do with a "mode" that the PowerShell engine is launch in, in VSCode? |
Fixed the formatting. Thanks for pointing this out @anwather! Looks like this is an inconsistency in our host implementation, I'll get that fixed. |
A year and a half later, and many many version later, I have the same issue here where HelpMessage work in PowerShell ISE but does'nt have effect when run from vscode with powershell extension Shall I go back to powershell ISE to learn powershell? Is there a buggy version of powershell especially made just for vscode? |
This feature doesn't come from PowerShell, it comes from PSReadLine. We have an issue tracking integration of PSReadLine in #535 |
Closing as PSReadLine is now available in the PowerShell Preview extension, tracking that PSReadLine is not available in the main PowerShell Extension here #1793 |
System Details
Copy / paste the below commands into the PowerShell Integrated Terminal, and paste the output here
Issue Description
When using the helpmessage parameter attribute - if I call the function in the terminal without a mandatory parameter the helpmessage cannot be displayed.
From the terminal:
From the PowerShell CLI or ISE:
The text was updated successfully, but these errors were encountered: