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 198802 - Problem with JS code completion in freeform JSP
Summary: Problem with JS code completion in freeform JSP
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.0
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-23 09:22 UTC by Vladimir Riha
Modified: 2012-09-19 09:22 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 Vladimir Riha 2011-05-23 09:22:47 UTC
I tried sample project from some TS http://wiki.netbeans.org/TS_61_WebFreeform
(project archive is at the bottom) and opened time.jsp.

In time.jsp I simply added js code with function definition and tried to invoke
code completion. The completion offers js items (decodeURI(), keywords...) but
it doesn't offer anything that I have defined, no functions, no variables...
Reopening/saving the file doesn't make any difference. The same happens if I create new jsp file in this project.

In jsp files in common Java Web/Web Application it works fine

Product Version: NetBeans IDE 7.0 (Build 201104080000)
Java: 1.6.0_25
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)
Comment 1 Martin Fousek 2011-10-31 09:47:03 UTC
Reproducible. Probably, JS issue.
Comment 2 Petr Hejl 2012-09-19 09:22:50 UTC
Seems to be fixed for 7.3.