strayrobots / 3d-annotation-tool

A graphical user interface to annotate point clouds and 3D data.
MIT License
76 stars 8 forks source link

Code formatter #14

Closed hietalajulius closed 3 years ago

hietalajulius commented 3 years ago

Created a .clang-format file with some pretty basic rules (feel free to make changes) and made a script for running formatting on our .h and .cc files. Also ran the script -> bunch of changes in files + included a .vscode settings folder for useful initial settings for any future souls opting for that editor (formatting is independent of this).

Going forward, it would be great to always run the script before making PRs / we could also add checking against the format rules in our future CI setup although might be a cause of some unwanted overhead.

But yes, feel free to make changes to the rules + run the script again, I don't have a strong opinion what should be there :+1: