让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
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

未子涵

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值