/**
+---------------------------------------------+
| public static final FiledA mFiledA; // xxx |
| private static final FiledB mFiledB; // xxx |
| public FiledC mFiledC; // xxx |
| protected final FiledD mFiledD; // xxx |
| FiledE mFiledE; // xxx |
| | |
| v |
| public static final FiledA mFiledA; // xxx |
| private static final FiledB mFiledB; // xxx |
| public FiledC mFiledC; // xxx |
| protected final FiledD mFiledD; // xxx |
| FiledE mFiledE; // xxx |
+---------------------------------------------+
*/
Comment Formatter is an intellij plugin that formats comments as above.
- 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.