日期:2014-05-16  浏览次数:20641 次

eclipse强大的代码【javascript|html|css|jquery|…】提示插件aptana

转载自http://wmcuit.com/index.php/2010082715/code-hinting-plugins-for-eclipse

这前在网站上Eclipse开发JQuery环境设置(Spket)?文章提到过JQuery提示插件,但是经过多次的试验不尽人意,主要是其提示效果不理想,而且配置成功的概率非常的小。经过同事的推荐使用aptana插件还不错其代码提示功能非常的强大,而且aptana有自己独立的IDE。详细见:http://www.aptana.org/?本文介绍在Eclipse下安装该插件,目的主要是解决jquery在eclipse下的代码提示。

注意选择eclipse 3.5,而且现在只能选择3.5,选择高版本的3.6会出现bug,以致插件管理器不能使用,当然也就用不了jquery插件了。。。

=================================================

【2010-11-10更新】最近发现它支持3.6,不过是BETA版,还是不错了:

插件更新地址:http://download.aptana.com/studio3/plugin/install

?

一、eclipse准备

eclipse 的选择非常的重要,否则,将无法成功完成aptana的安装,即使是安装好后也可能会安装不了jquery插件。按官方说,选择3.5 或 更高的。 这里需要提醒大家,经过我的测试,只有3.5和3.6都能成功安装,但是只有3.5可以使用插件管理器。当然现在官方已经知道这个BUG,正在修复中。。所以在这里我推荐大家最好使用3.5的。

需要注意的问题是,在安装过程中,可能会提示获取资源失败,不用管,点OK就行,继续等。。这里你可能看到进度条长达半小时不动,这个不用理它,安装获取的字在变化就行。这个是网络原因引起的,毕竟别人的服务器在国外。。。。

二、apatana相关

Installing via Eclipse

Please copy the following Update Site URL to your clipboard and then follow the steps listed below to add this URL to your?Available Software Sites?list. Attempting to access this URL using your web browser will return an Access Denied error.

http://download.aptana.com/tools/studio/plugin/install/studio

  1. From the Help menu, select?Install New Software… to open the Install New Software dialog.
  2. Paste the URL for the update site into the?Work With?text box, and hit the?Enter(or?Return) key.
  3. In the populated table below, check the box next to the name of the plug-in, and then click the?Next?button.
  4. Click the?Next?button to go to the license page.
  5. Choose the option to accept the terms of the license agreement, and click the Finish button.
  6. You may need to restart Eclipse to continue.

根据