jhipster / jhipster/prettier-java
Comment Formatting
- Dominant language
- Java
- Stars
- 1.2k
- Forks
- 120
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 27
Description
**prettier-plugin-java**
_version: 2.6.4_
```sh
# Options (if any):
--print-width 120
```
**Input:**
```java
// some comment some comment some comment some comment some comment some comment some comment some comment some comment some comment some comment some comment some comment
public SomeClass() {}
```
**Output:**
```java
// some comment some comment some comment some comment some comment some comment some comment some comment some comment some comment some comment some comment some comment
public SomeClass() {}
```
**Expected behavior:**
Does Prettier not format comment sections? As I see, it has even issues with formatting the code which is in one line with a comment. Is it right? Or there is some new version with fixed comment formatting?
Contributor guide
Assessment
This issue has not been assessed yet.