Intellij如何格式化方法签名和javadoc注释多行格式?
Intellij how to format method signature and javadoc comment multi-line format?
Intellij java 编辑器代码格式:
/**
* @param nameOfAParameterVeryLong this is a very long multiple line comment,
* next line starts from beginning.
*/
public void fooVeryLongMethodName(Integer parameter1, Integer parameter2,
String parameter3, String parameter4) {
...
}
如何将上面的格式设置如下:
/**
* @param nameOfAParameterVeryLong this is a very long multiple line comment,
* next line starts from beginning.
*/
public void fooVeryLongMethodName(Integer parameter1, Integer parameter2,
String parameter3, String parameter4) {
...
}
不要对齐参数和注释多行。这个有什么设置吗?
请尝试以下设置:
Intellij java 编辑器代码格式:
/**
* @param nameOfAParameterVeryLong this is a very long multiple line comment,
* next line starts from beginning.
*/
public void fooVeryLongMethodName(Integer parameter1, Integer parameter2,
String parameter3, String parameter4) {
...
}
如何将上面的格式设置如下:
/**
* @param nameOfAParameterVeryLong this is a very long multiple line comment,
* next line starts from beginning.
*/
public void fooVeryLongMethodName(Integer parameter1, Integer parameter2,
String parameter3, String parameter4) {
...
}
不要对齐参数和注释多行。这个有什么设置吗?
请尝试以下设置: