[英]Strange Javadoc wrapping in Intellij
You can disable the Wrap at right margin option and use the Wrapping and Braces
|您可以禁用Wrap at right margin选项并使用
Wrapping and Braces
| Hard wrap at .硬包装在。 The current behavior is a bit confusing and there is an open issue for that .
当前的行为有点令人困惑,并且有一个未解决的问题。
I've found that the answer that @CrazyCoder provided messes up with line continuation indents.我发现@CrazyCoder 提供的答案与续行缩进混淆了。 Specifically, that javadoc lines that are wrapped with Hard wrap at are not indented properly, even if the
JavaDoc
|具体来说,使用Hard wrap at包装的 javadoc 行没有正确缩进,即使
JavaDoc
| Indent continuation lines option is enabled.缩进续行选项已启用。
To preserver the line continuation indents I followed the instructions provided on the issue (posted, again, by @CrazyCoder) and I have also enabled Wrapping and Braces
|为了保留行继续缩进,我按照问题上提供的说明进行操作(再次由@CrazyCoder 发布),并且我还启用了
Wrapping and Braces
| Wrap if long at any place I could find.如果在我能找到的任何地方都包裹起来。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.