Open
Description
(Should be a PowerShellEditorServices issue, but here for visibility)
Moved from microsoft/vscode#59042.
The ReadLine of the custom host does not support the HelpMessage
parameter setting:
function Test-ParametersAndPrompts {
[cmdletbinding()]
param(
[parameter(Mandatory, HelpMessage = 'Enter the location of the folder.')]
[string]
$Path
)
process {
$path
}
}
Running Test-ParametersAndPrompts
in the Integrated Console correctly prompts for the Path
parameter, but does not support the ?!
input to get the help message.