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 - "Import" functionlity requirement in web project.
Summary: "Import" functionlity requirement in web project.
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks: 204187
  Show dependency tree
 
Reported: 2009-05-14 05:57 UTC by hantsy
Modified: 2014-01-16 10:28 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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