Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Copy tooltip content in Visual Studio?

While editing code in Visual Studio, it will sometimes underline something I wrote, and when I hover over it, display a tooltip saying something like blah blah is obselete, please use this instead. See [some MSDN link]. However, when I try to move the mouse over the tooltip so I can click on the link or copy it to the clipboard, the tooltip disappears, since it's set to only appear when I hover over offending the code, not over the tooltip.

Does anyone know a way to get at the tooltip contents? And if not... I'm not a UI designer but shouldn't it be obvious to anyone designing such a feature that people need a way to get to the link other than typing it into the browser??

like image 748
HighCommander4 Avatar asked Jun 12 '11 06:06

HighCommander4


People also ask

How do I copy text from a tooltip?

Type the first few words of the tooltip text into the search box... now the search string should appear highlighted in the "Elements" panel. Click on the element that contains the tooltip text. Right-click on the selected element. From the content menu, select "Copy" -> "Copy element"

How do I get tooltips in Visual Studio?

Set a ToolTip in the designer In Visual Studio, add a ToolTip component to the form. Select the control that will display the ToolTip, or add it to the form. In the Properties window, set the ToolTip on ToolTip1 value to an appropriate string of text.

What is tooltip content?

Definition: A tooltip is a brief, informative message that appears when a user interacts with an element in a graphical user interface (GUI). Tooltips are usually initiated in one of two ways: through a mouse-hover gesture or through a keyboard-hover gesture.


1 Answers

Try go to definition of method, open as metadata view and you'll see the obselete attribute above the method with the text description

like image 107
Chen Kinnrot Avatar answered Sep 18 '22 15:09

Chen Kinnrot