apache / apache/netbeans

Autoformat should wrap long @summary Javadoc tags

Open
#5,581 0 comments 0 reactions 0 assignees View on GitHub
kind:feature needs:triage
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Description

After seeing #5180, I put a long summary in a `@summary` tag and found the menu entry Source → Format does not wrap long lines in this tag.

### Use case/motivation

Wrapping long lines already works for Javadoc, except when the summary is in the dedicated tag.

### Related issues

#5180

### Are you willing to submit a pull request?

No

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue through Source → Format with a long `@summary` Javadoc tag, and compare it with wrapping in other Javadoc text. Read related issue #5180 for the existing formatting context. Done means long lines in the dedicated `@summary` tag wrap consistently with the rest of Javadoc.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
developer-experience
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.