由于doclipse的提示冗余一些,所以,可自己定制提示信息。不需修改源码,即可完成。

1. 解压com.beust.doclipse.jar。

2. 找到/file/目录下,想要修改的xml文件,如果是struts,即为struts.xml。

3. 如果xml中缺项,加上即可,例@struts.action-forward中缺少redirect项,只需添加<attribute name="redirect"/>。其中属性required可以设定是否不需。

4. 然后在用jar打包,替换原先的jar,完成。

Eclipse中变换插件后,从2.1时发现,删除configration/org.eclipse.update目录下的platform.xml文件,然后重新启动Eclipse,插件就会起作用了。