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 51481 - "Go to Source" does not work in javadoc section
Summary: "Go to Source" does not work in javadoc section
Status: RESOLVED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-13 03:01 UTC by pzgyuanf
Modified: 2010-05-19 11:54 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pzgyuanf 2004-11-13 03:01:21 UTC
Enable "Go to Source" in document section, it is
user for when there is @see or {@link...} reference.
This function has already existed in other java IDE.
Comment 1 pzgyuanf 2004-11-13 03:25:05 UTC
like this,
----------
    /**
     * @see     java.lang.Thread#Thread(java.lang.ThreadGroup,
     *          java.lang.Runnable, java.lang.String)
     */
    public Thread() {
	init(null, null, "Thread-" + nextThreadNum(), 0);
    }
--------------
when right click the Runnable(java.lang.Runnable) and select the Go to
Source, the source editor open the Runnable.java file.
Comment 2 Roman Strobl 2004-12-08 17:08:01 UTC
Changing subcomponent to navigation.
Comment 3 zolta 2010-05-19 09:45:39 UTC

*@see, @link, @linkplain, tags in javadoc are already parsed and are click-able
but the result is only a beep however in import statement navigating to class is working seamlessly. Also in package-info.java where import doesn't make other sense than documenting.

Would it be difficult to implement this?

It would be a very visible feature and implementing this would make documenting code thus reading it easier.

*I belive this issue is not platform or OS dependent in any way
Comment 4 Vitezslav Stejskal 2010-05-19 11:54:11 UTC
This is working fine in my 6.9dev build. Here is what I tried:

/**
 * @see java.lang.Runnable
 */
public class Abc { ...

What is your example? Is the class you are trying to navigate to offered in code-completion inside javadoc comments?