开发者

How to add a hyperlink in a comment in eclipse javadocs

I would like Eclipse to resolve e.g. this hyperlink in a javadoc:开发者_如何转开发

/*
 * for reference, look here: http://www.google.com
 */

The goal would be that the hyperlink is just "clickable" as any normal hyperlink (e.g. as in pdf or doc files).


That is only possible in a JavaDoc comment!

Example:

/**
 * for reference, look here: <a href="http://www.google.com">Google</a>
 */

After generating the Javadoc, you have a normal hyperlink. An other way is to watch in the JavaDoc view of Eclipse!

EDIT: Another way in a normal comment is to press the CTRL and click with the left mouse botton on the link!

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜