Xdoclet2(一):找回Doclipse缺失的标签提示--Qtags
来源:互联网 发布:服务器ftp软件 编辑:程序博客网 时间:2024/06/05 05:39
使用Xdoclet2的Eclipse插件Doclipse,发现里面仅提供了Plugin的Tag的提示。而如果要自已写Plugin的时候就发现这个插件没有提供最原始的Tag的提示,即Qtags。参考了Doclipse的文档之后想自已动手写一个XML文件来提供提示功能。(Doclipse插件除了提供默认的Plugin 配文件,还可以从用户指定的一个文件查找符合格式的Plugin配置文件)。后来发现Xdoclet2的源码中的Plugin里居然有Qtags的Plugin,这样一来,代码比较搞笑,在Qtags的源码里面使用Qtags的标签生成Qtags标签提示文件。而我再次去Doclipse的包里找的时候,却没发现有Qtags的配置,郁闷。于是只有自已配Ant脚本,手动生成Qtags的配置文件。
<?xml version="1.0" encoding="ISO-8859-1"?>
<doclipse>
<description>@ tags</description>
<tag target="class" doc="" name="@command.class">
<attribute required="true" doc="" name="name"/>
<attribute required="false" doc="" name="generate"/>
</tag>
<tag target="" doc="class level tag to specify deprecated aliases of current tag. those will be
bombed on creation" name="@qtags.alias"/>
<tag target="class method" doc="specify one of the allowed values for tag or parameter" name="@qtags.allowed-value"/>
<tag target="method" doc="specify default value for tag or tag parameter. this can be used only
on method level." name="@qtags.default"/>
<tag target="class" doc="class level tag to specify deprecation of /@-tag." name="@qtags.deprecated"/>
<tag target="class" doc="class level tag to specify that marked interface shall be not generated
itself. ( But methods will be used ) This is necessary to allow tag interface inheritance. ( For example,
hibernate has shitload of collection tags which share a lot of common parameters. )" name="@qtags.ignore"/>
<tag target="method" doc="Specify the token used in list processing" name="@qtags.list-token"/>
<tag target="class" doc="class level tag to specify allowed locations. this tag cab ne used only on class level to specify
locations where usage is allowed. Recognized values are "class" "method" "constructor" "field"" name="@qtags.location"/>
<tag target="class" doc="specify that this tag can be use once on given program element" name="@qtags.once"/>
<tag target="method" doc="specify that certain value is required to be present." name="@qtags.required"/>
</doclipse>
<?xml version="1.0" encoding="ISO-8859-1"?>
<doclipse>
<description>@ tags</description>
<tag target="class" doc="" name="@command.class">
<attribute required="true" doc="" name="name"/>
<attribute required="false" doc="" name="generate"/>
</tag>
<tag target="" doc="class level tag to specify deprecated aliases of current tag. those will be
bombed on creation" name="@qtags.alias"/>
<tag target="class method" doc="specify one of the allowed values for tag or parameter" name="@qtags.allowed-value"/>
<tag target="method" doc="specify default value for tag or tag parameter. this can be used only
on method level." name="@qtags.default"/>
<tag target="class" doc="class level tag to specify deprecation of /@-tag." name="@qtags.deprecated"/>
<tag target="class" doc="class level tag to specify that marked interface shall be not generated
itself. ( But methods will be used ) This is necessary to allow tag interface inheritance. ( For example,
hibernate has shitload of collection tags which share a lot of common parameters. )" name="@qtags.ignore"/>
<tag target="method" doc="Specify the token used in list processing" name="@qtags.list-token"/>
<tag target="class" doc="class level tag to specify allowed locations. this tag cab ne used only on class level to specify
locations where usage is allowed. Recognized values are "class" "method" "constructor" "field"" name="@qtags.location"/>
<tag target="class" doc="specify that this tag can be use once on given program element" name="@qtags.once"/>
<tag target="method" doc="specify that certain value is required to be present." name="@qtags.required"/>
</doclipse>
- Xdoclet2(一):找回Doclipse缺失的标签提示--Qtags
- 找回缺失的教育智慧需要重建教育学体系
- Ant + XDoclet2生成Hibernate3的配置及映射文件
- tornado 提示缺失zlib
- wps安装完成后提示系统缺失字体的解决方法
- WPS for Linux 提示字体缺失的处理办法
- 向Oracle插入为null的字符串,提示“缺失标识符
- Linux下WPS提示字体缺失的解决方法
- html的标签提示
- 类标签缺失 weka的StringToWordVector类解析
- xshell会话标签找回
- dz会员找回密码提示参数错误的解决方案
- firefox关闭缺失插件提示
- mac 提示缺失Myriad字体
- 生命中缺失的“爱的一课”
- <Android>初识一:令人头疼的R文件缺失问题
- MyEclipse 找回代码提示快捷键。
- 一分钟理解APM,把流失的用户找回来
- 亮剑群英传
- 这几天研究了下 Google Sitemap 的实现
- eclipse下的struts资源文件中文问题
- Virginie Ruiz
- 你的身份不再是谜
- Xdoclet2(一):找回Doclipse缺失的标签提示--Qtags
- 1: note of learning stl c++
- 你掌握调试工具了吗?
- 从鼠标中获得输入--消息框
- 网络老婆与现实女友的对话 ---很好看
- 一个常见数据库操作错误的分析(四)
- 老婆的日记(爆笑)(看了你就想结婚了)
- 2005年中国科技十大骗局之一
- websphere 和 weblogic 在iframe使用上的一点不同