async_comm
async_comm copied to clipboard
Clang format
I have a new interface-based callback mechanism that I'd like to pr, but since I am using VScode, I can't help but have it generate a ton of whitespace changes.
I figured you'd appreciate the cleanup anyways :)
Thanks @superjax. This is probably great, but I'm not entirely clear on what's actually new...
Is this one only clang-format stuff? Is there some extension in VScode that's reformatting code for you? I develop this in VScode and it doesn't make changes for me. Doing a clang-format thing would probably be great, but this is also mangling a few things I don't want mangled. For now, would it possible for you to turn off whatever extension is changing stuff, then redo #9?
Sure thing!
All you do is add "editor.formatOnSave": true, to the settings.json and install the Clang-format extension.
Or you can run it against the whole directory with
find . -iname "*.h" -o -iname "*.cpp" | xargs clang-format -i
What is the formatter doing that you don't like? It's pretty easy to fix.