Community
Participate
Working Groups
I'm using Eclipse IDE for Enterprise Java Developers. Version: 2019-06 (4.12.0) Build id: 20190614-1200 ------------- I have enabled the "never join already wrapped lines" option, but the formatter "destroys" the formatting I set up for parameters. Before formatting: ```` public long createSnapshotForType( @NotNull @ApiParam(value = "The version to create it from", required = true) @RequestParam(name = "version", required = true) @Valid final VersionNumber version, @ApiParam(value = "The configuration type to use", required = true) @PathVariable("type") final ConfigurationType type) { ```` After formatting: ```` public long createSnapshotForType( @NotNull @ApiParam(value = "The version to create it from", required = true) @RequestParam(name = "version", required = true) @Valid final VersionNumber version, @ApiParam(value = "The configuration type to use", required = true) @PathVariable("type") final ConfigurationType type) { ```` This makes the code unnecessary hard to read, especially since it's already hard to read in the first place. Possible workaround: Add empty line comments to the end of the lines, but this doesn't really help with code readability.
*** Bug 562481 has been marked as a duplicate of this bug. ***
At least with 2022-03, Eclipse seems to also break formatting of class annotations. Would you mind widening this request's scope to include all types of annotations?
Still waiting for fix this bug, very please-please-please!