15 03 2017

最近项目用到Titanium,虽然Titanium本身有Aptana插件,但是还是想给自己的eclipse也加上这个插件。

    进入Aptana官网:http://www.aptana.com/

    跳转到下载页面,选择下载Eclipse plugin installation, 发现官网只给出在线更新的网址:

    http://download.aptana.com/studio3/plugin/install

    但是试过在线更新的童鞋都知道这是多么蛋疼的事情,于是,google到解决方法:

    复制在线更新链接,在浏览器打开,你会看到会自动跳转到:

    http://d1iwq2e2xrohf.cloudfront.NET/tools/studio/plugin/install/studio3/3.2.2.201208200959/

    这时,在这个链接后面加上index.html, 即:

    http://d1iwq2e2xrohf.cloudfront.Net/tools/studio/plugin/install/studio3/3.2.2.201208200959/index.html

    再访问修改过后的链接,这时你就能看见zip包的下载链接,下载即可。

 

    附上解决方法的帖子:

    http://my.oschina.net/shiwenwei/blog/36186


Aptana安装完成了,还需要修改首选项preferences把相关格式文件的默认编辑器设置成Aptana.即,菜单 Window»Preferences»General»Etitors»Fill Associations, 然后,在右边选择你想要默认用Aptana编辑的文件格式,然后再选择下面的Aptana插件,并Default为默认,如将js文件的默认编辑器设置为 Aptana:

发表评论