eclipsevisual-studio

Eclipse "Copy Qualified Name" function in Visual Studio?


In Eclipse (for Java) I got used to the function Copy Qualified Name available in the context menu of the code window, which copied the fully qualified name of a type or method under the cursor into the clipboard. After switching to Visual Studio I am unable find an equivalent of this useful tool.

Is there a Copy Qualified Name function somewhere in Visual Studio? (Or is it in some plugin?)

If not, is there at least a good workaround which does not require a successful build and launch of my application nor forces me to manually re-type a qualified name visible somewhere on the screen?

I'm currently using VS 2012 Pro and need this in a Visual Basic project.


Solution

  • Not sure if this will be convenient enough for you, but you can choose View menu item and open the Class view window (Ctrl+W,C or Ctrl+Shift+C short cut - probably depends on the settings). There you can select a class or a method and pressing Ctrl+C (or choosing Copy from context menu) gives you the fully qualified name in the clipboard.