Skip to content

Amend astyle rules proposal #78

@niv

Description

@niv

I'd like to amend a setting to our code guidelines, specifically to our astyle settings:

align-pointer=type

I'm seeing lots of pointer mixup, sometimes left, sometimes right, sometimes in the middle. Granted this will mean we'll see lots of whitespace churn, but I think it's preferrable to have it all in a unified style.

Also, I'd still like to add some whitespace after/before if blocks (at least as a "hard" guideline):

break-blocks

I know that's a bit controversive but I think it makes code more readable and fosters functions that aren't a million lines long.

We could also add a .astylerc config file to the repository, but that idea is neither here nor there.

Maybe this all is something for the new unified codebase at least?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions