An open API service indexing awesome lists of open source software.

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.

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.