Visual Studio (2005,2008,2010) Tips and Tricks.
#62 Display parameter info for a function
Tuesday, March 10 2009
Intellisense is great – probably the greatest thing ever invented to help developers productivity. But ListMembers isn’t always what you want. If you have CTRL+Space embedded in your brain telling Visual Studio to “Show my what I can put here” you’re getting a ListMembers popup. What you sometimes want is a ListParameters Tooltip, and this video shows you how.
Snippets / Notes:
Press Ctrl+Shift+Space to display the parameter info. The command is Edit.ParameterInfo, in case you need to check the keybindings. To iterate through the possible parameters, press the down arrow to go to the next and up arrow to go to the previous.
Visual Studio Tip / Trick #062 English Transcription:
Today's Visual studio trick of the day, trick No. 62 was in original blog post by Sara Ford. Her tip 62 was displaying parameter information for a function. Some inside of function here called some thing you can say I am trying to call into page load and if I do [CTRL]+[SPACE] to bring up intelence it’s actually going to bring up my member list. But if I do [CTRL]+[SHIFT],[SPACE] then that will show me the arguments for the or the parameters rather for this suabertener function that we are calling into. So in this case you can say sender as object e As event Args that matches my page load signature. [CTRL]+[SHIFT],[SPACE]. Will see ya on trip No. 63
0 comment(s)