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 32517 - Auto-completion across scriplets doesn't work
Summary: Auto-completion across scriplets doesn't work
Status: RESOLVED DUPLICATE of bug 8600
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: _ rkubacki
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-31 19:00 UTC by Andy Blanchard
Modified: 2006-06-04 23:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Blanchard 2003-03-31 19:00:10 UTC
The JSP Editor does not do auto-completion for variables 
spanning multiple scriplets within the same page.  If a 
variable is defined in one scriptlet then accessed in 
another scriplet (all on the same page) the auto-
completion does not recognize this variable.

The page compiles and executes successfully, however the 
editor provides no help with auto-completion.

For example:

<%
String str = "Hello";
// auto-completion works great here!
str.toUpperCase();
%>

<p>Dummy body stuff here</p>

<%
// auto-completion doesn't work here!
str = str.toLowerCase();
%>
Comment 1 _ rkubacki 2003-04-01 07:19:28 UTC
In fact there is the same reason as issue #8600. We would need to
produce stream of Java source to be parsed in order to get that kind
of completion data.

*** This issue has been marked as a duplicate of 8600 ***