Scaladoc 在 IntelliJ 中的右侧边缘换行

发布于 2024-11-05 05:25:04 字数 642 浏览 0 评论 0原文

有什么方法可以让 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 技术交流群。

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

发布评论

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

评论(1

怕倦 2024-11-12 05:25:04

有一个专门的设置 - '确保不超过右边距'< /a>

There is a dedicated setting for that - 'Ensure right margin is not exceeded'

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文