Comment Formatter is an IntelliJ plugin that formats comments to a friendly style.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

Intellij 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.