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.
From nbusers mailing list: I have the following code (exactly out of the Servlet template, almost): protected void processRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException { HttpServletResponse resp; // HERE } If, at the location marked HERE (on the next line), I type: resp.CONTROL-SPACE I get the usual pop up box of all the fields and methods. However, if I type: response.CONTROL-SPACE I get nothing. I can hit CONTROL-SPACE until I'm blue in the face and I get nothing. I can also type: request.CONTROL-SPACE and I get the proper pop-ups again.
fixed in [maintrunk] /cvs/editor/libsrc/org/netbeans/editor/ext/java/JavaSyntaxSupport.java,v <-- JavaSyntaxSupport.java new revision: 1.20; previous revision: 1.19
If you want to patch this problem in NB 3.3.1 please, copy the attached patch patch20256.jar into <NBDir>/modules/patches/org-netbeans-modules-editor/ folder and restart NB.
Created attachment 4598 [details] bugfix - patch20256.jar
*** Issue 20241 has been marked as a duplicate of this issue. ***
*** Issue 20469 has been marked as a duplicate of this issue. ***
*** Issue 20711 has been marked as a duplicate of this issue. ***
DIFF: http://editor.netbeans.org/source/browse/editor/libsrc/org/netbeans/ed itor/ext/java/JavaSyntaxSupport.java.diff?r1=1.19&r2=1.20
diff of the fix: RCS file: /cvs/editor/libsrc/org/netbeans/editor/ext/java/JavaSyntaxSupport.java ,v retrieving revision 1.19 retrieving revision 1.20 diff -u -b -r1.19 -r1.20 --- JavaSyntaxSupport.java 2002/01/08 15:45:15 1.19 +++ JavaSyntaxSupport.java 2002/02/07 13:17:01 1.20 @@ -460,7 +460,8 @@ if (parenthesisCounter > 0) { // comma is declaration separator in parenthesis if (parenthesisCounter == 1 && state == AFTER_MATCHING_VARIABLE) { processDeclaration(); - } else if (state != AFTER_EQUAL) { + } + if (state != AFTER_EQUAL) { state = INIT; } } else { // not in parenthesis
*** Issue 21242 has been marked as a duplicate of this issue. ***
fixed in [orion_fcs] /cvs/editor/libsrc/org/netbeans/editor/ext/java/JavaSyntaxSupport.java ,v <-- JavaSyntaxSupport.java new revision: 1.17.6.2.4.1; previous revision: 1.17.6.2
Verified in NB trunk 200204170100 and orion 020416_1.
*** Issue 22880 has been marked as a duplicate of this issue. ***
Resolved for 3.3.x or earlier, no new info since then -> closing.