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.