Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get Parameters Type and no. of parameters for a function in Visual Studio Editor (C#)

After writing the name and opening and closing parentheses (brackets) of a function in C#, is there any way to get the types and number of parameters of the function, without deleting the opening parenthesis?

like image 925
odiseh Avatar asked Dec 13 '22 03:12

odiseh


2 Answers

Place the cursor between the parentheses and press Ctrl-Shift-Space.

like image 116
Jon Skeet Avatar answered Dec 15 '22 17:12

Jon Skeet


I used to use Ctrl+Shift+Space all the time but it's not working anymore. It does show the parameter list when I delete the opening bracket though.

Turns our it is my wireless keyboard not allowing more then 2 keys to be pressed at once, works fine if I used the windows virtual keyboard.

like image 31
Jasper Avatar answered Dec 15 '22 18:12

Jasper