天天看点

eclipse集成html5插件

1. 在线安装:help->install new software...->add...->

name: "aptana", 

location: http://download.aptana.com/studio3/plugin/install【正确地址】

下载完毕,按步骤一步一步next,最后重启 eclipse 。

2.给aptana添加jquery

help->install aptana plugin->javascript libraried ->jquery

最后一直点next直到完成。

安装步骤如下,commands->bundle development->install bundle->选中jquery->ok

3.设置aptana

window->preferences ->aptana_>editors_javascript->code assist->选择jquery等。最后点击完成。

4. 使用aptana的编辑器打开js和html文件eclipse-jee中有自己的默认html和js编辑器,必须用aptana的编辑器打开才会出现javascript提示,右击文件选择open

with->other...,选择下图中红框中的编辑器:

eclipse集成html5插件
eclipse集成html5插件

5. 调整编辑器背景色

aptana的编辑器背景是黑色的,看得很不舒服,换一个主题就行了,具体位置如下:

window->preferences->aptana studio->theme

继续阅读