zend studio aptana

http://blog.csdn.net/democreen/article/details/6125623javascript

 

 

 

 

 

Eclipse开发JQuery环境设置(Spket) 文章提到过JQuery提示插件,可是通过屡次的试验不尽人意,主要是其提示效果不理想,并且配置成功的几率很是的小。通过同事的推荐使用aptana插件还不错其代码提示功能很是的强大,并且aptana有本身独立的IDE。详细见:http://www.aptana.org/ 本文介绍在Eclipse下安装该插件,目的主要是解决jquery在eclipse下的代码提示。php

注意选择eclipse 3.5,并且如今只能选择3.5,选择高版本的3.6会出现bug,以至插件管理器不能使用,固然也就用不了jquery插件了。。。html

=================================================java

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

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

 

1、eclipse准备

eclipse 的选择很是的重要,不然,将没法成功完成aptana的安装,即便是安装好后也可能会安装不了jquery插件。按官方说,选择3.5 或 更高的。 这里须要提醒你们,通过个人测试,只有3.5和3.6都能成功安装,可是只有3.5可使用插件管理器。固然如今官方已经知道这个BUG,正在修复中。。因此在这里我推荐你们最好使用3.5的。windows

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

2、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.

根据上面的官方文档能够看出,和通常的Eclipse插件网络安装方法是同样的。而插件的安装地址就是上面的那个URL,固然更新完后必定要记得重启Eclipse.固然,eclipse也会弹出一个对话框让你选择是否重启,这里必定要选是。。

 

PS:在Install对话框中,注意去掉Group items by category 和 Contact all update sites during install to find required software 两项,至于为何能够查相关资料,我不在这里作相关的解释。  

   在eclipse的windows菜单中选择preferences如出现aptana选择,择表明安装成功。

 

固然启动eclipse 后也会出现以下页面:

安装jquery插件:

固然这里有更多的eclipse 提示插件 (ext js , php ,yahoo ,dojo, aflax , prototype 等经常使用框架) 要用什么勾上,固然也要到配置下配置启用它们。
在下面的经常使用设置中,向你们展现如何启用。

(这里设置你想要支持的浏览器环境,这在在代码提示中,若是某个方法或属性不支持的浏览器会显示为灰色)

注:上图是是新升级后,发现aptana 已经支持 jquery1.4 的代码支持。

(这里选择JAVASCRIPT提示代码的支持,这里是否是看到JQuery支持了吧,记得上面Automatically选中)

 

4、使用

     一、右键你要编辑的JS,选择open with ,再选反Aptana JS Editor 就能够编辑JS了。

效果以下:

 

 

 

PS:关于html中的javascript怎么编辑(提示)?你右键要编辑的文件,选择open with 下的other选择aptana HTML Editor,这样便可以编辑HTML又能够编辑javascript,并且都有提示,提升CODING速度。

 

 

好啦,关于aptana的功能还比效,特别是编辑CSS/HTML强大的提示功能能够说与DW媲美,因为篇幅有限,功能太多,这些都你们本身去摸索吧

相关文章
相关标签/搜索