请问eclipse 中怎么设计下面的代码 /** * * @author * */

[复制链接]
查看11 | 回复3 | 2011-2-17 01:10:35 | 显示全部楼层 |阅读模式
回复

使用道具 举报

千问 | 2011-2-17 01:10:35 | 显示全部楼层
<pre id=\\\"best-answer-content\\\">window -- preferences -- java -- Code Style -- Code Templates
在右边点开comments,单击Types,然后自己再进行设计。
回复

使用道具 举报

千问 | 2011-2-17 01:10:35 | 显示全部楼层
<p>

<pre class=\\\"answer-content\\\">这是注释,你想干什么

</p>
回复

使用道具 举报

千问 | 2011-2-17 01:10:35 | 显示全部楼层
<p>

<pre class=\\\"answer-content\\\">给你的例子

/**首页
*
* @author a href=\\\"mailto:[email protected]\\\"金鑫/a
* @version 1.0 2011-2-12 下午04:46:47
*/


模板里面这样设置

/**
*${tags}
* @author a href=\\\"mailto:[email protected]\\\"金鑫/a
* @version 1.0 ${date} ${time}
*/

</p>




<a href=\\\"#\\\" id=\\\"image-224592411_616392397\\\" target=\\\"_blank\\\"></a>
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行