Reputation: 2978
Is there a way to format long Kotlin comments in IntelliJ IDEA/Android Studio the same way as Java comments when you set:
Code Style > Java > JavaDoc > Wrap at right margin
When you turn this setting on, after formatting it turns this:
/**
* This is my very very very long comment which probably should be multi-line....
*/
into this:
/**
* This is my very very very long comment
* which probably should be multi-line...
*/
I don't see the same option for Kotlin but maybe there is another way to achieve this?
Upvotes: 5
Views: 1666
Reputation: 401915
There is an open issue already reported, please follow it for updates.
Upvotes: 4