Scaladoc 在 IntelliJ 中的右侧边缘换行
有什么方法可以让 IntelliJ 在边缘包裹 scaladoc 吗?
基本上,我希望
/**
* This is a method description that is long enough to exceed right margin.
* <p/>
* Another paragraph of the description placed after blank line.
* <p/>
* Line with manual
* line feed.
将其格式化为:
/**
* This is a method description that is long
* enough to exceed right margin.
* <p/>
* Another paragraph of the description
* placed after blank line.
* <p/>
* Line with manual line feed.
*
...如果行长度设置为在此结束:
^
Is there any way you can make IntelliJ wrap scaladoc at the margin?
Basically, I want this:
/**
* This is a method description that is long enough to exceed right margin.
* <p/>
* Another paragraph of the description placed after blank line.
* <p/>
* Line with manual
* line feed.
to be formatted to this:
/**
* This is a method description that is long
* enough to exceed right margin.
* <p/>
* Another paragraph of the description
* placed after blank line.
* <p/>
* Line with manual line feed.
*
... if the line length is set to end here:
^
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有一个专门的设置 - '确保不超过右边距'< /a>
There is a dedicated setting for that - 'Ensure right margin is not exceeded'