1 | // +---------------------------------------------+ |
Comment Formatter is an IntelliJ IDEA plugin (also works in Android Studio) that formats comments as above. It will force all the comments to align to the longest one.
Getting Started
- Install
CommentFormatter
from release or IntelliJ Plugin Repository. - Select all the lines which you wanna format.
- Select
Tool - Format comment
or toggleCtrl + Cmd + L
to format.