Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS Add-on to Copy full type name of identifier under the cursor into clipboard [closed]

Is there a visual studio add-on to copy the full type name of the identifier under the cursor into clipboard? Please DO NOT link me to "VS 2010 - easy way to copy full type name of a class/interface?" I don't want to deal with macros; only add-ons. Thanks :)

like image 324
Jordan Avatar asked Aug 04 '11 20:08

Jordan


1 Answers

Ultimately, Visual Studio's Object Browser gets you what you want. Unfortunately, the task might be cumbersome without Resharper.

If you have Resharper, you can set up a key binding for EditorContextMenus.CodeWindow.NavigateTo.Resharper_NavigateToObjectBrowser

EditorContextMenus.CodeWindow.NavigateTo.Resharper_NavigateToObjectBrowser

To copy the full type name of a property, method, or class to the clipboard, position your cursor in the relevant spot... (for example)

enter image description here

Now press your new keyboard shortcut (CTRL+ALT-J in my example above).

enter image description here

Once in the object browser, you can press CTRL+C immediately to copy what you want to the clipboard.

Flip over to any ol' application now and press CTRL+V to paste the contents..

enter image description here

like image 130
Alex Dresko Avatar answered Oct 20 '22 05:10

Alex Dresko