jhipster / jhipster/prettier-java

Comment Formatting

Open
#679 2 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.