2017-09-13 74 views
2

有沒有辦法來格式化的IntelliJ IDEA/Android的工作室一樣的Java註釋當您設置長科特林評論:科特林評論中的IntelliJ格式化/ Android的工作室

代碼樣式>的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的相同選項,但也許有另一種方法來實現這一目標?

回答