Comment Formatter is an IntelliJ plugin that formats comments to a friendly style.
Java
Latest commit d9a81ee Dec 12, 2016 @kaedea update README
Permalink
Failed to load latest commit information.
.idea build 0.1.1 Dec 12, 2016
release
resources/META-INF
src/moe/studio/formatter
.gitignore build 0.1.1 Dec 12, 2016
README.md

README.md

Comment Formatter

    //  +---------------------------------------------+
    //  | 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.

Getting Started

  1. Install CommentFormatter from release or IntelliJ Plugin Repository.
  2. Select all the lines which you wanna format.
  3. Select Tool - Format comment or toggle Ctrl + Cmd + L to format.