在eclipse-jee-juno中配置Aptana对jQuery代码自动提示
2013-08-14 14:10
453 查看
主要问题
在Aptana的Web Project中打开js文件有JavaScript的自动提示,但是在JavaEE项目中却没有。版本
eclipse-jee-juno,即Eclipse 4.2的JavaEE IDEAptana Studio3.2
步骤
1. 安装AptanaHelp->Install New Software...->Add...->填入Aptana的安装路径(http://download.aptana.com/studio3/plugin/install)->安装->重启Eclipse
2. 安装Jquery插件
Commands->Bundle Development->Install Bundle->选中jQuery->OK
3. 加入jQuery的sdocml文件
在https://github.com/aptana/javascript-jquery.ruble/downloads下载Aptana的压缩包,解压后里面有jquery.1.4.2.sdocml、jquery.1.6.2.sdocml两个文件,根据需要将其中一个放到项目的根目录,有了这个就能对jQuery进行自动提示了。
4. 使用Aptana的编辑器打开js和html文件
eclipse-jee中有自己的默认html和js编辑器,必须用Aptana的编辑器打开才会出现JavaScript提示,右击文件选择Open With->Other...,选择下图中红框中的编辑器:
![](http://pic002.cnblogs.com/images/2012/354747/2012072709410680.jpg)
![](http://pic002.cnblogs.com/images/2012/354747/2012072709411627.jpg)
5. 调整编辑器背景色
Aptana的编辑器背景是黑色的,看得很不舒服,换一个主题就行了,具体位置如下:
Window->Preferences->Aptana Studio->Theme
相关文章推荐
- 在eclipse-jee-juno中配置Aptana对jQuery代码自动提示
- 在eclipse-jee-juno中配置Aptana对jQuery代码自动提示
- 在eclipse-jee-juno中配置Aptana对jQuery代码自动提示
- 在eclipse-jee-juno中配置Aptana对jQuery代码自动提示
- 在eclipse-jee中配置Aptana对jQuery代码自动提示
- eclipse aptana插件 —— 【javascript|html|css|jquery|…】自动提示
- eclipse代码自动提示设置、如何配置eclipse的代码自动提示功能(同时解决自动补全变量名的问题)?
- 使用eclipse开发spring,hibernate,mybatis等框架的xml配置文件时代码不自动提示
- clipse代码自动提示设置、如何配置eclipse的代码自动提示功能?
- eclipse代码自动提示设置、如何配置eclipse的代码自动提示功能(同时解决自动补全变量名的问题)?
- Eclipse导入颜色配置文件导致代码自动提示功能失效的解决方法
- eclipse代码自动提示设置、如何配置eclipse的代码自动提示功能?
- eclipse代码自动提示设置、如何配置eclipse的代码自动提示功能?
- Eclipse Juno 安装 Aptana 3.3,支持jquery智能提示
- eclipse下extjs代码自动提示spket的配置
- eclipse强大的代码【javascript|html|css|jquery|…】提示插件 —— aptana
- eclipse aptana插件 —— 【javascript|html|css|jquery|…】自动提示
- eclipse完美配置PHP开发环境 ;(下载 安装 配置php自动提示代码 优化eclipse)
- myeclipse中eclipse PHP插件的安装及代码自动提示配置
- Eclipse 的代码自动提示插件Aptana CSS代码提示