开发者

Java IDE Plugin or external tool (ant, maven, standalone) that convert bbcode to javadoc?

开发者 https://www.devze.com 2022-12-20 13:09 出处:网络
I want to format some part of my javadocs with a simpler syntax than the basic html we have to 开发者_运维知识库use (for things like bold and italic, also for paragraph and code).

I want to format some part of my javadocs with a simpler syntax than the basic html we have to 开发者_运维知识库use (for things like bold and italic, also for paragraph and code).

Is anybody knows a tool that let me use a kind of bbcode syntax in my source and will transform those bbcode comments into valid javadoc comments ?

It could be an IDE plugin, a pre-compile ant task or even a stand alone app.


You can write your own doclet to translate from your bbcode/javadoc format to the standard javadoc HTML format. Writing a doclet is easy - see http://java.sun.com/j2se/javadoc/ as a start. Parsing BBCode might be possible using https://javabbcode.dev.java.net/

0

精彩评论

暂无评论...
验证码 换一张
取 消