https://github.com/kaedea/comment-formatter
Comment Formatter is an IntelliJ plugin that formats comments to a friendly style.
https://github.com/kaedea/comment-formatter
intellij-plugin
Last synced: 10 months ago
JSON representation
Comment Formatter is an IntelliJ plugin that formats comments to a friendly style.
- Host: GitHub
- URL: https://github.com/kaedea/comment-formatter
- Owner: kaedea
- Created: 2016-12-11T09:10:28.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-08-27T07:37:48.000Z (almost 8 years ago)
- Last Synced: 2025-07-23T08:48:37.096Z (11 months ago)
- Topics: intellij-plugin
- Language: Java
- Homepage:
- Size: 77.1 KB
- Stars: 10
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Intellij Comment Formatter
```java
/**
+---------------------------------------------+
| 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](https://github.com/kaedea/comment-formatter/releases) or [IntelliJ Plugin Repository](https://plugins.jetbrains.com/plugin/9337?pr=idea).
2. Select all the lines which you wanna format.
3. Select `Tool - Format comment` or toggle `Ctrl + Cmd + L` to format.