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 153176 - "Go to source" on abstract classes and methods should provide option for selecting implementation.
Summary: "Go to source" on abstract classes and methods should provide option for sele...
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-13 19:31 UTC by rptmaestro
Modified: 2013-09-02 14:21 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 rptmaestro 2008-11-13 19:31:18 UTC
When I am navigating through my source code and I ctrl+click on an abstract method or interface class, it takes me to
the declaration of the abstract method or interface class. As I do not always know that it is an abstract method or
interface class, this is not always what is desired. Most often, what I really want is to got to the implementation. "Go
to Source" in Eclipse allows the user to select an implementation of a method or class. In NetBeans, this functionality
is only available through the "Find Usages" command, which is less convenient as it requires more steps to get to the
implementation source.

Please consider enhancing the "Go to Source" feature as follows:
- When the user ctrl+clicks an interface class name, bring up a list of implementing classes to choose from.
- When the user ctrl+clicks an abstract or interface method, bring up a list of implementing methods to choose from.

When on a breakpoint in debug mode:
- In the scenarios above, automatically bring the user to the implementing class or method, just as if the user were to
"step into" it.
Comment 1 Petr Chytil 2008-11-14 07:38:13 UTC
reassigning to editor/navigation for evaluation