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 165124

Summary: "Import" functionlity requirement in web project.
Product: javascript Reporter: hantsy <hantsy>
Component: EditorAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 204187    

Description hantsy 2009-05-14 05:59:22 UTC
NetBeans has good "Import" feature in java file and "Include" file in php file. 
Why not extend it to support javascript .
When the web resource inlucdes any javascript libraries in a web project(normal HTML, Java Web, PHP ),  NetBeans should
be scan them at startup time.

When using a js object in editor, the editor can detect whether the js object exists in some js files.
If it is exists, give a code completation notification to user to fix it. The result is generate "<script></script>"
code fragement in "head" tags.

For example.
I use a "dojo.xxx" is a javascript code fragment , the editor should give an error notification to user and provide code
completation to include dojo library in the project resource folder .
Comment 1 riksoft 2011-10-25 08:06:11 UTC
http://forums.netbeans.org/topic43936.html