Visual Studio: How to show Overloads in IntelliSense?

Once code has been written, the only way I know of to view the overloads for a method is to actually edit the method by deleting the Parenthesis () and reopening them.

Is there a shortcut key that I could press to activate this instead of having to edit my files?

For an example, please reference the ShowDialog Overload screen shot below:

ShowDialog1过载


Try the keyboard shortcut Ctrl-Shift-Space . This corresponds to Edit.ParameterInfo , in case you've changed the default.

Example:

描述性截图,由jp2code


Ctrl+Shift+Space shows the Edit.ParameterInfo for the selected method, and by selected method I mean the caret is within the brackets of the method.

Here is the Visual Studio 2010 Keybinding Poster.

And for those still using 2008.


Tested only on Visual Studio 2010.

Place your cursor within the (), press Ctrl+K, then P.

Now navigate by pressing the ↑ / ↓ arrow keys.

链接地址: http://www.djcxy.com/p/43696.html

上一篇: Google Closure编译器包含

下一篇: Visual Studio:如何显示IntelliSense中的重载?