Bug 56623 - Initialize the Class Name field of Go To Class dialog with the contents of the clipboard (if it is a valid java type name or a fully qualified java type name)
Initialize the Class Name field of Go To Class dialog with the contents of th...
Status: NEW
Product: utilities
Classification: Unclassified
Component: Jump To
4.x
All All
: P3 (vote)
: TBD
Assigned To: Tomas Zezula
issues@utilities
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-03-18 00:14 UTC by _ sandipchitale
Modified: 2012-12-09 09:33 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ sandipchitale 2005-03-18 00:14:27 UTC
The text field where one types the name of the class in Go to Class dialog 
could be initialized with the contents of clipboard if it contains a valid 
Java Type name (fully qualified or otherweise). The text should be pre-
selected so that user can simply hit delete and start from scratch or ovewrite.

This is helpful when one has copied the Java Type name into the clipboard from 
some other window - for example command shell window or other editor etc.

This behaviour may be under the control of some option:

[ ] Initialize dialogs with Clipboard content when applicable.

under Tools:Options:Source Creation and Management:...
Comment 1 Jan Pokorsky 2005-03-18 09:49:26 UTC
Go to Class belongs to the editor, reassigning
Comment 2 _ sandipchitale 2007-11-27 00:24:30 UTC
Seems to work like that in NB 6.0. Close this.
Comment 3 markiewb 2012-05-16 06:45:58 UTC
(In reply to comment #2)
> Seems to work like that in NB 6.0. Close this.


Veto: The request here is to use the clipboard content.

Currently supported: the element at the carret is used for preinitalising the "go to type"-dialog.
Comment 4 markiewb 2012-10-29 17:14:46 UTC
Simple workaround:

* invoke the action for opening the "go to type"-dialog -> the dialog opens and the text in the textfield is selected
* Paste the content of the clipboard.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo