Skip to content

Update eclipse jdt formatter configuration #605

@marko-radosavljevic

Description

@marko-radosavljevic

We should update our formatting configuration. It's based on old google style, and it lacks all the new features.

It also has a weird issue with formatting a specific record. Issue noticed first here: #140. Investigated by spotless devs here: diffplug/spotless#951

image

After investigation, the conclusion is that our configuration is the issue. And our band-aid solution was to pin the eclipse jdt formatter version to the latest known working, eclipse('4.19.0').

Partly because of that pinning, we don't have @snippet support. #591. And we will continue experiencing more and more issues down the line.


It's also a good opportunity to rethink our formatter choice, use better and smarter configuration etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions