开发者

Scaladoc wrap at right margin in IntelliJ

开发者 https://www.devze.com 2023-03-03 23:36 出处:网络
Is there any way you can m开发者_Go百科ake IntelliJ wrap scaladoc at the margin? Basically, I want this:

Is there any way you can m开发者_Go百科ake 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:

                                          ^


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

0

精彩评论

暂无评论...
验证码 换一张
取 消