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.
Implement call hierarchy
It would be nice to be able to viewing "chain" of method calls for a particular method. This is enhancement to Find Usages feature known from competitive IDEs.
From what I see, issues 60723 and 113458 are duplicates of this. But this one is a "task" so I perhaps there is some difference, please verify ii. This feature is one of two which made me switch to Eclipse, and I can't go back to NetBeans now because of lack of them (second is missing Type Hierarchy feature - I will file enhancement against it soon). This is really really necessary for me now, when I'm analising code in some big project written by someone else. Being able to track all the calls for given method in the tree-like manner is really indispensable is such a case. Please see how it is done in Eclipse - they did really good job. However, there is one thing missing in Eclipse implementation, which I think Netbeans can do better - I found no simple way to disable showing calls from test classes. In most cases I'm not interested in such calls - but eclipse does not have a clear way of distinguishing test classes and source classes (at least I don't know it). In Netbeans it is different - test classes are treated logically in different way. So I would really like to have the tool to see calls for given method in a tree-like manner, like in Eclipse, but with additional switch to hide calls coming from test classes. I really believe this should be at least P2.
gborkowski, prepare for switch. Type Hierarchy is already implemented (Alt-Shift-F12) and Call Hierarchy will be available in 6.5M1.
Good to hear it will be implemented soon. Regarding TYpe Hierachy - Alt-Shift-F12 does not fit my needs. See issue 136532 for description.
*** Issue 60723 has been marked as a duplicate of this issue. ***
*** Issue 113458 has been marked as a duplicate of this issue. ***
gborkowski: It should be possible to filter out test classes.
implemented as http://hg.netbeans.org/main/rev/a84ed0f8d79a
Integrated into 'main-golden', available in NB_Trunk_Production #262 build Changeset: http://hg.netbeans.org/main/rev/a84ed0f8d79a User: Jan Pokorsky <jpokorsky@netbeans.org> Log: #132187: initial implementation of Java Call Hierarchy