Bug 284996

Summary: [open type] Add "Copy Qualified Name" to "Open Type" dialog
Product: [Eclipse Project] JDT Reporter: Viliam Durina <viliam>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P5 CC: daniel_megert, markus.kell.r, Olivier_Thomann, pbenedict
Version: 3.5   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Viliam Durina CLA 2009-07-29 07:24:35 EDT
Build ID: 3.5 20090619-0625

If you right-click an identifier in the Java source code, there is an option to "Copy Qualified Name", which copies the identifier class along with package name to the clipboard.

I'd like to have this feature inside the Open Type dialog (Ctrl+Shift+T), e.g. in context menu. I sometimes need full class name to paste to a properties file, currently I need to open the class in the editor and copy it from there.

Thanks
Comment 1 Olivier Thomann CLA 2009-07-29 09:10:31 EDT
Move to JDT/UI
Comment 2 Dani Megert CLA 2009-07-29 09:39:00 EDT
We need to be careful if we start to add Java element actions to the open type context menu.
Comment 3 Markus Keller CLA 2009-07-29 09:51:11 EDT
> We need to be careful if we start to add Java element actions to the open type
> context menu.

Yep, up to now, we don't have context menu actions on Java elements in dialogs. If we do this, at least Copy should also be available. And if a keybinding is defined, it should work as well.
Comment 4 Dani Megert CLA 2013-03-26 06:29:04 EDT
See bug 404349 for the general request.
Comment 5 Paul Benedict CLA 2016-07-20 13:11:06 EDT
+1 for this request! I commonly use Open Type dialog to find the fully qualified name of a type when I only know its short name. At the moment, all I can do is notate what Eclipse tells me... but I'd be super helpful to allow me to right-click and copy it out.
Comment 6 Paul Benedict CLA 2018-04-11 12:38:09 EDT
Ping. This ticket is still important to me. Today, I wanted to copy out the class name for an item in my Open Type dialog, but was still surprised the context menu does not provide any copy behavior.