有没有办法在IntelliJ IDEA / Android Studio中格式化长Kotlin注释的方式与设置时的Java注释相同:
代码风格> Java> JavaDoc>包裹在右边缘
当您打开此设置时,格式化之后会转为:
/**
* This is my very very very long comment which probably should be multi-line....
*/
进入这个:
/**
* This is my very very very long comment
* which probably should be multi-line...
*/
我没有看到Kotlin的相同选项,但也许有另一种方法来实现这一目标?