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.
If a method call contains an arg with a method call, the gotosource functionality goes to the source of the method invoked in the args instead of the method on which the cursor is located. For example: super.show( _other.render(),4 ); On the attached code in the Child class. 1. placed the mouse above the "show" call 2. click the right button 3. select the goto source menu item (or press Alt-o) Netbeans then opens the buffer for the Other class and places the cursor at the render() method. It should open the Parent class and place the cursor at the show(String,int) method. This occurs in 3.2 and deveopment release.
Created attachment 932 [details] The Child class
Created attachment 933 [details] the Other class
Created attachment 934 [details] The Parent class
note: I updated the parser database with "all" selected for all fields.
I have a similar problem with the line GARTextArea txtBesch = new GARTextArea(1,1, when I place the mouse on the first "GARTextArea" it works. When I place it on the second one, a false class is loaded. When I change the souce to GARTextArea txtBesch = new GARTextArea(1,1) it works too. My OS is W2K, the NetBeans version is 3.2.1
Moving to editor. Feel free to reassign if not yours, thanks.
fixed in [maintrunk] GoToSource now works for overloaded methods correctly. Also fix for distinguish method and parameter has been applied. method(|Button. GoToSource in the above example (| is a caret position) will not process Button (as it was before) but the method. /cvs/editor/src/org/netbeans/modules/editor/java/JavaKit.java,v <-- JavaKit.java new revision: 1.28; previous revision: 1.27
Resolved for 3.3.x or earlier, no new info since then -> closing.