有什么方法可以让 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.
*
...如果行长度设置为在此结束:
^
最佳答案
有一个专门的设置 - 'Ensure right margin is not exceeded'
关于Scaladoc 在 IntelliJ 中的右侧边缘换行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5912860/