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 139783 - Add "quick hierarchy" for methods
Summary: Add "quick hierarchy" for methods
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 2 votes (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-12 09:37 UTC by klaasjanelzinga
Modified: 2013-09-02 14:20 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Example with description (75.17 KB, image/png)
2013-01-16 17:27 UTC, markiewb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description klaasjanelzinga 2008-07-12 09:37:06 UTC
Currently I am using Eclipse as well as Netbeans. A feature I miss in Netbeans is the "quick hierarchy" from eclipse:
- I have an interface.
- I have an implementing class.
- I have a class that uses the interface. 

If (in eclipse) my cursor is on a method of the interface and I press ctrl-t (quick hierarchy) I can navigate to the
implementing class. The functionality in netbeans is to position the cursor on the interface type and then
ctrl-shift-F12 (open hierarchy), then I can navigate to the implementing classes.

Besides this hierarchy viewer a more 'Quick Hierarchy' would be nice. Also, if the cursor is on a method, use this as a
starting point in the hierarchy navigation (types implementing this method).
Comment 1 markiewb 2013-01-16 17:27:44 UTC
Created attachment 130293 [details]
Example with description

(In reply to comment #0)
> Currently I am using Eclipse as well as Netbeans. A feature I miss in Netbeans
> is the "quick hierarchy" from eclipse:
> - I have an interface.
> - I have an implementing class.
> - I have a class that uses the interface. 
> 
> If (in eclipse) my cursor is on a method of the interface and I press ctrl-t
> (quick hierarchy) I can navigate to the
> implementing class. The functionality in netbeans is to position the cursor on
> the interface type and then
> ctrl-shift-F12 (open hierarchy), then I can navigate to the implementing
> classes.
> 
Works for me. I tested it with interfaces/classes in 7.3. FYI There was a hierarchy view redesign in 7.3.

---
Yes, what is still missing is the hierarchy view for methods. So i will rename this issue to reflect it.

The usecase is "I want to see where the given method is defined or overridden"

Details - as seen in eclipse ui - see screenshot
* invoke "Call hierarchy view" for a method -> the hierarchy view is opened
** the symbol of the classes/interfaces where the method is NOT defined nor overriden will be grayed out
** the symbol of the classes/interfaces where the method is defined or overriden is "colorful"/not grayed out