`

javascript插件

阅读更多
http://hi.baidu.com/suofang/blog/item/943d558222e074a90cf4d208.html

引用

javascript插件

一、JSEclipse

插件介绍:JSEclipse是个Eclipse下的免费Javascript脚本编辑器,最大的特点就是对js的自动完成功能非常完美,支持普通DOM对象的点取,如document对象,screen对象等等...
下面我将介绍在Eclipse中如何安装JSEclipse:
方法一:

在http://www.interaktonline.com/Products/Eclipse/JSEclipse/Overview/中下载JSEclipse中下载JSEclipse_1.5.5.jar(此时的最新版本);我们将JSEclipse_1.5.5解压后在产生的文件夹中的readme.txt里有解压产生的文件夹的说明,其中有描述如下:

   - features/ - this folder includes the JSEclipse features
   - plugins/ - this folder includes the JSEclipse plugin
   - documentation - this folder contains the JSEclipse user manual in two different formats: Windows Help File (CHM) and FlashHelp
   - License/ - the file includes the JSEclipse license (please select the one in your language)
   - site.xml - this file is the site descriptor. It is used by the Eclipse IDE to determine the JSEclipse package location.
- Install.txt - the file includes the JSEclipse installation notes
- Readme.txt - this file
显示了各个文件夹的作用;
我们打开documentation 这个文件夹,有chm和flash这两中说明文档,其中有在Eclipse中安装JSEclipse的说明(见2000_installing.htm)

方法二(建议用这种):

让Eclipse在网络上来查找JSEclipse的安装文件
在Eclipse里如下选择:Help > Software Updates ->Find and Install再随后打开的对话框里选择Search for new features to install,再随后打开的对话框里选择New remote site按钮,在打开的"New Update Site"中输入如下:
   Name: JSEclipse from Adobe Labs
   URL : http://download.macromedia.com/pub/labs/jseclipse/autoinstall
   点击OK
随后将 JSEclipse from Adobe Labs 选中,然后就是安装了;

二、Aptana

Aptana是一个开发JavaScript的很好的ide,且aptana提供了eclpse的插件,用起来几乎很上手而且很简单、方便,没有理由不去爱它。

但是在Eclipse下安装aptana总会遇到一些问题,笔者也一样遇到了许多问题。现在这里就做一个总结,安装aptana遇到的问题:

1、安装以后必须有Firefox支持。

因为aptana需要firefox的JavaScript调试工具做调试,因此如果你安装过了aptana之后系统没有安装firefox,那么,还是推荐你安装一个firefox吧。即使不用这个浏览器也可以安装上,省的出现一些其他的不可预料的问题。

2、安装过程中出现无法下载或者不兼容的问题。

这个问题正式困扰我好几天的问题。如果aptana安装不上或者安装之后出现错误,一般都是aptana和eclipse的版本问题,因此请下载之前认真阅读官方网站的资料以及版本的限制。一般说来,你使用的eclipse版本越高,那么对应的aptana的版本就需要越高。

3、是自动在线下载安装?还是link方式安装?

笔者推荐使用后者,也就是手动配置link的方式安装aptana插件。这样可以避免许多问题。笔者前几次安装aptana插件都失败,原因就在于是自动下载安装的,可每次都会出现错误,而改用手动配置link的方式安装后,一切问题迎刃而解了。

那么,跟着我一起来试试吧。

先去aptana的官方网站下载eclipse的插件

地址:http://update.aptana.com/update/studio/3.2/

强烈推荐手动下载插件的方式而不是在线升级的方式,尤其你用的不是eclipse而是完整安装版的myeclipse。

详见:http://www.kuqin.com/developtool/20090318/40850.html

3、Spket:

选择Help -> Software Updates -> Find and Install...-> Search for new features to install ->New remote site... Name: "Spket", Url: "http://www.spket.com/update/"下载完毕重启 Eclipse
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics