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.
|Summary:||Hyperlinking on identifier declaration could navigate to usages|
|Product:||java||Reporter:||Petr Jiricka <pjiricka>|
|Component:||Navigation||Assignee:||Tomas Zezula <tzezula>|
|Issue Type:||ENHANCEMENT||Exception Reporter:|
Description Petr Jiricka 2009-06-18 15:40:15 UTC
Currently hyperlinking in source works when I click on a place where a particular identifier (class, method or field name) is *used*, e.g. clicking on the getName() method call goes to the declaration of the getName() method. However, when I click on the *declaration* of the method, the IDE does nothing. What we could do in this case is navigate to the *usages* of the identifier. After hyperlinking on an indentifier declaration, the IDE would offer a small menu (similar for example to the menu displayed by the "Insert code" command), which would contain the usages of this identifier in some defined scope. I could navigate (using the keyboard) to a particular usage and the IDE would bring me to the desired source. This would be a simpler way to use the Find Usages feature - instead of displaying and confirming the dialog and then displaying the results in the output window area and navigating in the tree structure of the result, I could simply navigate in the small menu. Also, this would not litter my output window with tabs labeled "Usages of class XYZ", which I often don't need.