在 Netbeans 6.9.1 中编辑方法注释模板
当我通过键入 /**
+ 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
方法注释模板无法自定义到此问题中预期的级别。这些自定义功能可以添加到 NetBeans IDE 中,并且有一种特定的方法可以完成此操作,因为 NetBeans IDE 是一个以开源开发方式工作的开源项目。要求开发人员在 NetBeans IDE 中添加此功能的典型步骤是
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