I am using NetBeans 6.5 and Ext JS 2.2.
- NetBeans menu "Tools" and then submenu "Libraries"
- Click the "New Library..." button
- Set Library Name: as "ExtJS2.2" and Library Type: as "JavaScript Libraries" and then click "OK"
- Click the "Add Zip..." button
- Select the location of where you have your "ext-2.2.zip" file
- Click "OK" to close the Library Manager window.
- Right click the proposed project and select "Properties"
- Select the "JavaScript Libraries" Category
- Click the "Add..." button to open up the "Add JavaScript Libraries" window
- ExtJS2.2 should be listed as an available JavaScript Library
- Check the Add box for the ExtJS2.2 Library and click "OK"
- The Extracting JavaScript Libraries window should pop up and it should take a good couple minutes to extract the Ext JS libraries for use with NetBeans to activate the code completion functionality.
- Click "OK" to close the Project Properties window
- Open up a javascript file in your project and start with typing "Ext."
- Notice how the code completion is activated and one may now scroll thorugh the language and enjoy NetBeans taking care of some of the guess work we coders must deal with when coding to multiple APIs and various syntax oddities.