在 Netbeans 6.9.1 中编辑方法注释模板

发布于 2024-10-06 21:29:19 字数 372 浏览 0 评论 0原文

当我通过键入 /** + ENTER 在 Netbeans 中创建方法注释时,我得到类似这样的内容

/**
 *
 * @param nameOfParam
 * @return
 * @throws SQLException
 */

,但就我而言,我喜欢这样的注释

/**
 * 
 * @param 
 *     nameOfParam - 
 * @return

 * @throws SQLException
 */

所以我需要更改此模板,但我找不到在哪里。除了这一行为之外,我还可以更改 Netbeans 的每一项行为。

有人可以帮忙吗?

When I create a method comment in Netbeans by typing /** + ENTER I get something like this

/**
 *
 * @param nameOfParam
 * @return
 * @throws SQLException
 */

but in my case I like comments looking like this

/**
 * 
 * @param 
 *     nameOfParam - 
 * @return

 * @throws SQLException
 */

So I need to change this template but I can't find where. I can change every single behavior of Netbeans besides this one.

Can somebody help?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

谈情不如逗狗 2024-10-13 21:29:19

方法注释模板无法自定义到此问题中预期的级别。这些自定义功能可以添加到 NetBeans IDE 中,并且有一种特定的方法可以完成此操作,因为 NetBeans IDE 是一个以开源开发方式工作的开源项目。要求开发人员在 NetBeans IDE 中添加此功能的典型步骤是

  1. 中记录增强请求 [RFE] NetBeans IDE 问题跟踪器
  2. 通过向 NetBeans IDE 用户邮件发送邮件,通知社区有关您的 RFE 的信息列出(用户) 并要求所有人投票支持您的请求
  3. 根据投票结果,RFE 将在下一个发布周期中进行开发。

Method comment templates cannot be customized to the level which is expected in this question. These customization features can be added to the NetBeans IDE and there is a specific way how this can be done as the NetBeans IDE is an open source project working in open source way of development. The typical steps to ask the developers to add this feature in NetBeans IDE will be

  1. Log an enhancement request [RFE] in the NetBeans IDE issue tracker
  2. Notify the community about your RFE by writing mail to the NetBeans IDE users mailing list (users) and asking all to vote for your request
  3. According to the votes the RFE will get lined up for development in the next release cycle.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文