2

有什么方法可以让 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.
 *

...如果行长设置为在此处结束:

                                          ^
4

1 回答 1

3

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

于 2011-05-06T19:38:43.340 回答