kaedea / comment-formatter

Comment Formatter is an IntelliJ plugin that formats comments to a friendly style.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Comment Formatter is an IntelliJ plugin that formats comments to a friendly style.


Languages

Language:Java 100.0%