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.
[ BUILD # : Beta ] [ JDK VERSION : 1.5.0_05 ] When in project is a lot of overloades methods with long list of arguments there is no possibility to know which method must use. It's a big regression since Nb4.1
this should be fixed. The competion item is also ugly cutted.
Please take a look at this issue - notice the number of votes.
This is an intentional change. Typically the overloaded methods do the same thing. The full version of the method is displayed in the documentation popup which we consider as a sufficient solution for this situation. What I currently miss is that it's necessary to scroll horizontally in the doc popup in order to see all the parameters. Word-wrap would IMHO be better here. I have entered issue 67422 for this problem
I dont agree with you. A lot pepole writes 'autocommenting' code with no documentation. I dont like it but it's a fact, and I must live with it. When there is no javadoc for method at javadoc window is: "Javadoc not found... etc" Totally unusable.
I agree this feature should be added to NB 5.0.
> A lot pepole writes 'autocommenting' code with no documentation. IMHO we should always display at least the method signature (word-wrapped ideally) even if there's no explicit javadoc. Jano R., do you agree?
I've found additional problem that we would have to face with the horizontal scrollbar presence - displaying of the method/field types on the right side of the completion popup. With the horizontal scrollbar present the types could not be displayed right-aligned effectively as they could become completely invisible if the h. scrollbar would be present. With horizontal scrollbar we would probably have to return back to the original displaying of the return types on the left which is IMHO far less readable. Having two individually scrollable columns (one for method signature and one for type) is IMHO also not a nice solution as currently the narrower type makes space that is occupied by (possibly wider) method signature. What about using a tooltip for displaying of the full signature in case it does not fit? I mean if the item does not fit and the user hovers with th mouse over the particular item then the tooltip would display the full signature. If the item fits nothing would display.
What I would suggest is to reuse the JavaDoc window for that purpose. Even though there's no JavaDoc, we could at least show the full method declaration in that window (right below or above the message about missing Javadoc). Final design TBD. Would this work for you?
Fixed in [maintrunk]. Full class/method/field signature is always displayed in the JavaDoc window (even if the corresponding JavaDoc is missing). Checking in lib/src/org/netbeans/editor/ext/java/JavaCompletionJavaDoc.java; /cvs/java/editor/lib/src/org/netbeans/editor/ext/java/JavaCompletionJavaDoc.java,v <-- JavaCompletionJavaDoc.java new revision: 1.3; previous revision: 1.2 done Checking in src/org/netbeans/modules/editor/java/NbJMICompletionJavaDoc.java; /cvs/java/editor/src/org/netbeans/modules/editor/java/NbJMICompletionJavaDoc.java,v <-- NbJMICompletionJavaDoc.java new revision: 1.23; previous revision: 1.22 done