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 186490

Summary: Code completion for external javascript libraries not working
Product: javascript Reporter: trotskyicepick
Component: EditorAssignee: Petr Pisl <ppisl>
Status: REOPENED ---    
Severity: normal CC: pjiricka, tgiunipero
Priority: P3 Keywords: UI
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Just a simple .js file containing ExtJS code

Description trotskyicepick 2010-05-21 10:19:17 UTC
Created attachment 99300 [details]
Just a simple .js file containing ExtJS code

I have installed the external javascript library ExtJS. I have done this by going to : Tools | Libraries | Global Libraries | Library Name: ExtJS-3.2.0 | Add Zip | path-to/ExtJS-3.2.0.zip.

Now when I create a new javascript file or edit an existing one, the code completion popup does appear, but is not showing completion info for the ExtJS-3.2.0 library.

I have tried importing the extracted ExtJS-3.2.0 contents into my project but still no joy.
Comment 1 trotskyicepick 2010-05-21 10:26:50 UTC
(In reply to comment #0)
> Created an attachment (id=99300) [details]
> Just a simple .js file containing ExtJS code
> 
> I have installed the external javascript library ExtJS. I have done this by
> going to : Tools | Libraries | Global Libraries | Library Name: ExtJS-3.2.0 |
> Add Zip | path-to/ExtJS-3.2.0.zip.
> 
> Now when I create a new javascript file or edit an existing one, the code
> completion popup does appear, but is not showing completion info for the
> ExtJS-3.2.0 library.
> 
> I have tried importing the extracted ExtJS-3.2.0 contents into my project but
> still no joy.

As far as I'm aware, the same problem is the case with other external javascript libraries (I have jQuery installed and that doesn't appear to work either, though I am much less familiar with this).
Comment 2 mcouillard 2012-09-11 13:38:42 UTC
This remains an issue in 7.2 (using ExtJS as an example)
Comment 3 Petr Pisl 2012-09-12 14:30:30 UTC
After rewriting the JS Editor, the support of jQuery is properly implemented. Support for ExtJS not yet. From this point of view this issue is not relevant anymore. There should be new enhancement for supporting the ExtJS.
Comment 4 derloopkat 2016-08-02 21:56:23 UTC
This is a big issue when using external javascript libraries. Getting intellisense for your own or third party Javascript libraries is a basic functionality that should work.
Comment 5 MayorSheFF 2016-08-03 08:57:43 UTC
Could you tell when it can be fixed? Please. Currently, I'm trying to begin a new HTML project which will include JavaScript third party labrary.