Skip to content

Clang-format - AlignArrayOfStructures - numbers align to right (suggestion)Β #67243

@robert-andrzejuk

Description

@robert-andrzejuk

Suggestion:

When aliging structures it would be great to be able to align numbers to the right.

Now it is only possible to align everything to a certain side.

But numbers I would ALWAYS like to align to the right.

Variable names, usually only to the left.
Text literals sometimes left, sometimes right.

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang-formatenhancementImproving things as opposed to bug fixing, e.g. new or missing feature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions