如何在intelliJ中格式化javadoc

时间:2018-01-19 08:29:14

标签: java json intellij-idea

我试图在javadoc中描述一个json对象结构,并且在我格式化代码之前它显示得很好,这会使javadoc内容变得扁平。

键入时的外观(以及我希望它如何查看结尾):

/**
 * A configuration blah blah blah
 * KBA : {
 *     ...
 *     crossReferences: {
 *         IS : "happy",
 *         SJ : "sad"
 *     }
 * }
 * @param value The value of the current node
 */

格式化后的结果(Ctrl + Alt + L):

/**
 * A configuration blah blah blah
 * KBA : {
 * ...
 * crossReferences: {
 * IS : "happy",
 * SJ : "sad"
 * }
 * }
 * @param value The value of the current node
 */

0 个答案:

没有答案
相关问题