This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 61645 - copy support to support javadoc format on paste
Summary: copy support to support javadoc format on paste
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-02 10:28 UTC by mikeskells
Modified: 2011-08-31 14:05 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mikeskells 2005-08-02 10:28:50 UTC
Could a small modification be made to the java navagator to allow cross 
references to be made?
 
If you copy a node for the navagator, and then paste it into a javadoc comment 
in the the editor you get someting like 
"org.netbeans.modules.javanavigation.ClassMemberModel$ItemPaintingData@4763e8" 
if this could be modified to be the javadoc format of the referenced object 
then this could allow for a simple mechnaism to insert cross reference into 
javadoc, or code
 
for javadoc the format could be 
 
"com.myco.MyClass#someMethod(Object,int)"
or "{@link com.myco.MyClass#someMethod(Object,int)}" 
or "@see com.myco.MyClass#someMethod(Object,int)"
 
Should I pass this comment onto someone in the UI team?
Do people think that it is a good or bad idea?
Should I launch a RFE, or is this below the level of an enhancement
    either way 
"org.netbeans.modules.javanavigation.ClassMemberModel$ItemPaintingData@4763e8" 
is less usefull than it could be!
Comment 1 Jesse Glick 2005-08-02 21:45:51 UTC
Probably WONTFIX; there are separate plans to add code completion to Javadoc
comments that would be far more usable (and discoverable) than pasting from the
navigator.
Comment 2 mikeskells 2005-08-17 21:01:44 UTC
if copy is suported from the navagator (as it currently is) it should be 
useful, so this is either a feature , or a bug that copy should not work.

personally I would like to see a DND operation. This was just to allow a 
simple implementation.

where is the propossal for code completion?
Comment 3 David Simonek 2008-10-21 16:22:53 UTC
Passing to java/navigation owner - and I also think that current code completion is enough.