Skip to Main Content
Visual Studio Hacks
book

Visual Studio Hacks

by James Avery
March 2005
Intermediate to advanced content levelIntermediate to advanced
304 pages
19h 23m
English
O'Reilly Media, Inc.
Content preview from Visual Studio Hacks
Master IntelliSense #8
Chapter 2, Master the Editor
|
43
HACK
located inside of the method parameters parenthesis, pressing Ctrl-Shift-
Space (Edit.ParameterInfo) will display the parameter information pop up.
Figure 2-9 shows this pop up.
Quick Info
When you move your mouse over a method or variable, you will see a small
tool tip pop up that contains information about that method or variable.
This is commonly called Quick Info. If you are navigating by keyboard, you
can also get this small pop up by pressing Ctrl-K and then Ctrl-I (Edit.
QuickInfo). Using this shortcut is also the only way to bring up this infor-
mational pop up during debug, since the default behavior is to show the
value of the object you are hovering over when using the mouse.
Stub Completion
Another form of autocompletion called stub completion can be very useful
when working with interfaces or event handlers or when overriding a
method. This feature can be used to automatically stub out the methods
required by the interface or the default code for an overridden method or
event handler. This is a feature that was added to Visual Studio .NET 2003,
but its presence is not always obvious when you are coding quickly.
Interface. When you first create a class and add the interface name after the
colon (or the Implements in Visual Basic), a small yellow window will pop
up for just a few seconds, offering you the ability to press the Tab ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft Visual Studio 2015 Unleashed, Third Edition

Microsoft Visual Studio 2015 Unleashed, Third Edition

Mike Snell, Lars Powers
.Net Framework Essentials

.Net Framework Essentials

Thuan L. Thai, Hoang Lam
C# 5.0 Unleashed

C# 5.0 Unleashed

Bart De Smet
Programming .NET Security

Programming .NET Security

Adam Freeman, Allen Jones

Publisher Resources

ISBN: 0596008473Errata Page