【发布时间】:2011-10-30 13:38:46
【问题描述】:
/*
*
* This is a long comment. I broke it into lines, but that made it impossible to edit without screwing up the formatting. Is there a way to make Netbeans add line breaks automatically?
*
*/
阅读:这是一个很长的评论。我把它分成几行,但这使得在不搞砸格式的情况下无法编辑。有没有办法让 Netbeans 自动添加换行符?
【问题讨论】:
-
你在说什么格式?
-
阅读很烦人......(不得不scoll)。
-
您是说您没有设法“格式化”您的评论吗?换句话说,你不能写多行评论?
-
您的意思是自动格式化程序重新格式化您的 cmets?如果是这样,您应该可以将其关闭(不知道 Netbeans 自动格式化程序)。
-
@DarkDust,我可以手动添加新行,但这会使编辑变得困难。从手动换行的注释中添加/删除几个单词会破坏整个格式。
标签: netbeans formatting comments