Bob Banks
Bob Banks

Reputation: 649

Keyboard shortcut for Visual Studio/Resharper tooltips?

Is there a keyboard shortcut to display tooltips provided by Visual Studio & Resharper when you hover over a bit of code? I'm already aware of Quick Documentation (Ctrl + Q) and Quick Watch (Ctrl + Alt + Q).

Upvotes: 14

Views: 3139

Answers (3)

Rafael Cabral
Rafael Cabral

Reputation: 121

CTRL+ALT+Q

It is equivalent to SHIFT+F9

Upvotes: 0

anihilnine
anihilnine

Reputation: 127

You can do it by binding this command to a key:

EditorContextMenus.CodeWindow.PinToSource

Unfortunately it works with what you have selected, not with what you are hovering over. Not only do you have to do the extra click, but you need to select the entire variable name and all of its prefixes as well.

Old question but useful to know.

My shortcuts:

PinToSource set to alt-F1

ClearAllDataTips set to shift-alt-F1

Upvotes: 0

Timores
Timores

Reputation: 14589

Do you mean Ctrl + K, Ctrl + I? This is the command Edit.Quickinfo.

(sorry, I am unable to add a comment with the PC I have now) For the single variable, do you mean in debug mode ?

2nd Edit: I think VS names these tooltips 'datatips'. Unfortunately, there is no command to show them, so no possible shortcut.

Upvotes: 10

Related Questions