Skip to content

Laura needs to configure her editor with whatever auto-formatter Phil is using #10

@lauralindzey

Description

@lauralindzey

By default, I have VSCode set to enforce Google's C/C++ styleguide for formatting.
However, this is very much not compatible with the auto-generated code from STM.

In the greenfield accel project, I have a hacky solution that turns on/off formatting when entering/exiting one of the USER CODE blocks.

For the main board project, I'd like to configure VSCode to match Phil's, so I don't have to format my own code to enforce consistency but also don't generate enormous diffs.

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