Sometimes pinning a DataTip in Visual Studio 2010 is not very easy using the mouse, e.g:
If the DataTip is very long (as shown above), it can be quite tricky to move the mouse cursor from the variable to the "pin" icon. Sometimes the DataTip will disappear as soon as the mouse is moved outside of the DataTip area.
Is there an easy way to pin DataTips, e.g. a keyboard shortcut?
You can use the context menu. Just click on the variable to pin and than choose "Pin to source".
(In addition to Werolik's answer)
It seems, that by default no keyboard shortcut is defined to pin a DataTip. But it is possible to define a custom shortcut:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With