07.12 Pin a DataTip to Source Code

COMMAND

EditorContextMenus.CodeWindow.PinToSource

VERSIONS

2010

CODE

vstipDebug0005

In Visual Studio 2010, you can now pin DataTips to source code. The purpose of pinned DataTips is to have the information stay with the line of code at all times, even after you scroll away from that line. To create one, just put your mouse pointer over any variable while debugging:

image with no caption

Notice the little pin at the end of the DataTip shown in the preceding illustration? If you click the pin, you have a pinned DataTip. The most obvious indicator of this is the pushpin that now shows up in the far left margin:

It is now, quite literally, ...

Get Coding Faster: Getting More Productive with Microsoft® Visual Studio® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.