First of all, cfmagicis a really neat idea!
Okay, here's the feature request:
Given a directory asdf/ with source code, and a source code example file asdf/main.cpp, format all .cpp, .h, .cxx, .c++ and .hpp with the style of asdf/main.cpp, as auto-detected by cfmagic.
This could be wrapped into a single tool that could make the style of any repository consistent, with minimal effort.
Thoughs? 🙂
First of all,
cfmagicis a really neat idea!Okay, here's the feature request:
Given a directory
asdf/with source code, and a source code example fileasdf/main.cpp, format all.cpp,.h,.cxx,.c++and.hppwith the style ofasdf/main.cpp, as auto-detected bycfmagic.This could be wrapped into a single tool that could make the style of any repository consistent, with minimal effort.
Thoughs? 🙂