-
Notifications
You must be signed in to change notification settings - Fork 317
Open
Labels
Description
Regarding the existing MenuComplete function (Ctrl+Space) and the new "F2" history menu, a couple of requests:
- Can we expose these menus as commands to make them usable by other modules as a way to prompt for input? It's always frustrating for PowerShell script authors that
$Host.UI.PromptForChoiceis so hard to use ... - Can we offer an command to turn one of these menus "on by default" to provide a slightly more intellisense-like feel to the prompt? Most people won't want that all the time, but it could be super useful on a temporary basis (particularly for learning new modules, since the
MenuCompletecompleter shows the full syntax block for commands):
