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.

Bug 8842

Summary: [completion]Code Completion in JSP Pages - Not Working
Product: javaee Reporter: Josh fuller <fullej>
Component: CodeAssignee: _ rkubacki <rkubacki>
Status: CLOSED FIXED    
Severity: normal    
Priority: P4    
Version: -FFJ-   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 8600, 8982    
Bug Blocks:    

Description Josh fuller 2000-12-08 19:46:28 UTC
There are two issues with the code completion in JSP pages.

1.)  Code completion window does not automaticaly pop-up and there are no
settings to enable this under the global options as there are with the other
editors.  One must use ctrl-[space] to bring it up - which brings me to my next
issue.

2.)  Code completion fails to recognize objects/variables declared in other JSP
code sections (code between "<%" and "%>" tags) on a given JSP page.
   Example:
     <% Hashtable mHash; %>
       Some HTML or just a blank line
     <% mHash.??? %>
   The ??? is where one would expect an autocomplete window to be, but none is
available - not even when using the ctrl-[space] to try to force it to bring it
up.  However, you do get an auto-complete window if you were to type inside the
same JSP code section (again - defined by the "<%" and "%>") as the type is set.
Comment 1 _ rkubacki 2001-02-19 10:13:00 UTC
This belongs to web (jsp-syntax module).
Comment 2 jcampbell 2001-02-24 05:53:10 UTC
I'm also seeing this.  Along with #2, code completion does NOT work with 
jsp:useBean... Example:

Also

<jsp:useBean id="myVar" class="java.util.Date" scope="session" />

<%
    myDate.setHours(2);
%>
Comment 3 _ rkubacki 2001-03-13 13:09:35 UTC
Related bugs are 8982,8600. code completion of class name in useBean class="" is
a separate problem.
Comment 4 _ rkubacki 2001-05-16 08:14:26 UTC
Change of e-mail address
Comment 5 _ rkubacki 2001-06-15 09:37:07 UTC
This is rather an enhancement. Changing target to 3.3 because the implementation
depends on changes in editor
Comment 6 _ rkubacki 2002-04-26 07:47:19 UTC
1) is implemented.
2) is duplicate of 8600, you can add yourself to CC list of this bug

CC for jsp:useBean class is added in NB3.4 dev builds.
Comment 7 Sergey Soldatov 2003-02-20 11:19:42 UTC
Verified in S1S build 030217_1
Comment 8 Quality Engineering 2003-07-02 08:28:30 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.