Skip to content

Lint/format C++ code #17009

Closed as not planned
Closed as not planned
@LeonarddeR

Description

@LeonarddeR

Is your feature request related to a problem? Please describe.

Multiple code styles are mixed in NVDA's C++ code

Describe the solution you'd like

Apply auto linting/formatting to the code base, similar to what we do with Ruff.

Describe alternatives you've considered

Leave as is.

Additional context

I have experimented with clangformat in jcsteh/osara#940 . The idea there is to find a format that minimized changes to OSARA's code base. However, there were several side effects to clangformat that resulted in pretty ugly results with spacing. I'm therefore not sure clangformat is the way to go.

CC @seanbudd

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions