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

Summary: Problem with JS code completion in freeform JSP
Product: javascript Reporter: Vladimir Riha <vriha>
Component: EditorAssignee: Petr Hejl <phejl>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

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.