Closed RudolfCardinal closed 1 year ago
There is also now tablet_qt/tools/clang_format_camcops.py
, which has destructive commands like modify
(not yet used!) and information commands like diff
(including --diffall
). This reads clang_format_camcops.yaml
and attempts to apply a style reasonably similar to the Python/Black style. May need a bit more iteration; in particular it splits long lines like void somefunc(); // long long comment
in between the brackets, though perhaps that just indicates a need for comment reformatting. Anyway, see what you think!
Thanks! I'm not sure if you're all done (I think so but a test is running) -- if so, feel free to merge, or I can if you prefer.
Checklist for new tasks:
server/camcops_server/extra_string_templates
.Please [X] all the boxes above that apply
Only failing test is because miniace.rst not published to camcops.readthedocs.io yet