Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual studio Intellisense parameter summary

Ive used visual studio for years, but the answer this eludes me:

When intellisense pops up, for a method call that takes more than one parameter, the summary for the first parameter is shown. The only way i've found to show the summary for the following parameter(s) is to either supply each parameter or just hit comma until i get the one im looking for.

Ive tried ctrl+right arrow, shift + right arrow etc etc, without success.

Just curious is all.

like image 531
maxp Avatar asked May 19 '10 21:05

maxp


2 Answers

The requirements for each parameter are shown when your cursor is in the position that the parameter itself goes in. You can view the method overloads by pressing the up and down arrows, but you will still only see the current parameter requirements in the tooltip.

For more info, see this page at MSDN

like image 153
JYelton Avatar answered Nov 03 '22 09:11

JYelton


Go to Options > Environment > Keyboard, type Param in the filter list, find "Edit.ParameterInfo" and bind shortcut keys in the Text Editor.

Alternatively, ReSharper remaps this automatically to Ctrl+P in its keyboard scheme.

like image 41
Julien Lebosquain Avatar answered Nov 03 '22 10:11

Julien Lebosquain