Reputation: 7144
I want VSCode to show powershell function signatures within the open parentheses.
For example, if I create a file file.ps1
, enable the Powershell extension, and then type into the editor
"my string".Replace(
when the cursor is after the (
I want a popover dialog to show the possible function signature parameters.
I know the System.String.Replace
has multiple function parameters. I would like intellisense to display a popover like:
Replace(Char, Char)
Replace(String, String)
Replace(String, String, StringComparison)
Replace(String, String, Boolean, CultureInfo)
How do I enable VSCode intellisense to show powershell function signature popovers?
Upvotes: 2
Views: 396
Reputation: 2368
When I delete the ending "e" in "Remove", and retype the "e", this drop down appears. Likewise, if in the middle of typing "Replace", I press Ctrl+Space, as described here, the dropdown box appears. At far right of this box is a little arrow that when you move your mouse over will pop up another smaller white box saying "Read More".
When I click the arrow, or pressing Ctrl+Space again, it will expand another box to the right. If I move my mouse over that text and wait a second, a smaller white box appears that is a little easer to read.
Afaik, this is mostly what VSCode has to offer for intellisense. If this isn't working for you, then let us know and hopefully someone can figure out why.
Upvotes: 2