您的位置:首页 > 编程语言 > Java开发

在NetBeans上支持ExtJS插件使用

2009-05-01 12:20 260 查看
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.
Now, one can hook up the new Ext JS library to the project you would like code completion with 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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐