到官方插件下载:http://amateras.sourceforge.jp/cgi-bin/fswiki_en/wiki.cgi?page=EclipseHTMLEditor
Download from here. Put the downloaded JAR file into ECLIPSE_HOME/plugins or ECLIPSE_HOME/dropins.
EclipseHTMLEditor requires GEF (GEF is optinal. If GEF isn't installed, the Palette view would be unavailable). You can install it using Eclipse Update Manager.
通过eclipse自带的安装/更新方式(这种方法我失败了,我有的是上面的那种)
检验是否安装成功
新建文件 -> others-> Amateras
重启后发现没有高亮,解决办法有两个:
1,暂时解决
右键文件,open-with
2,永久解决
安装后再Window->Preferences->General->Editors->File Associations
.html现在Amateras为默认打开
.js也是