让Aptana支持JavaScript的代码提示

先下载Aptana Studio 3安装包,它是基于Eclipse的Web Application IDE;
然后下载Sencha-touch-2.1.0-gpl.zip,并解压(Sencha Touch是一款基于HTML5的Mobile App框架)。
最后再Aptana中安装插件:
1. Into Aptana Studio go to Help -> Install New Software
2. Click "Add" to add a repository
Name: Spket IDE
Location:http://www.agpad.com/update/In "Work with:" list select the item u just added A list will appear wit 3 repositoryes for Spket IDE. (Spket IDE, Spket Text Editor and Xerces for Spket IDE) Install all of them
3. Download http://www.agpad.com/downloads/com.spket.js_1.6.18.jar
Replace the existing file located in "C:\Program Files\Appcelerator\Aptana Studio 3\plugins" or where did you installed Aptana (in "plugins" folder) You must install this because Spket only supports format "jsb1" and "jsb2". With this fix it will support "jsb3" (wich Sencha Touch use it).

4. In Aptana Studio go to Windows -> Preferences -> Spket -> Javascript Profiles
Click "New" and write "SenchaTouch"
Select "SenchaTouch" and click "Add Library" and select "ExtJs" from the list displayed
Select "ExtJs" and click "Add File" Locate youre "sencha-touch-all-debug.js" wich is containted in the zip file downloaded from sencha.com. (make sure all the files from that archive are located in the same folder) ....and click "Open"
Select "SenchaTouch" again and click "Default" button
Click "OK"

参考文章:http://stackoverflow.com/questions/10800044/sencha-touch-ide-or-editor/10814066#10814066
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值