Skip to content

Auto-Formatting #2248

@thorstenhater

Description

@thorstenhater

Hi all,

let's make our lives a bit easier and use an auto formatter. So, decision time.

Zero: Do we?

If we go for it, we'll have to stick with it, make some compromises on style, and accept
a potentially humongous PR with all the initial change. The payoff is the peace of mind
of never having to care again.

First: How?

Based on the lay of land the only real options are clang-format and uncrustify. The former
is tricky to use and realistically must be pinned to one version.

Second: What?

This is the hard part. Once we have decided on a tool, we'll go through all the options and pick
those we like best, collectively.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions