soramimi / Guitar

Git GUI Client
https://soramimi.github.io/Guitar/
GNU General Public License v2.0
1.58k stars 127 forks source link

File '.clang-format' not exist in root folder #146

Open GermanAizek opened 2 months ago

GermanAizek commented 2 months ago

It would be convenient for project to have a .clang-format file so that all IDEs can synchronize C++ code style, indents and tabs, etc. This is really convenient if you have a lot of contributors, and it's easier for you @soramimi to work on different platforms with different IDEs.

Learn more about integrate ClangFormat in project:

https://clang.llvm.org/docs/ClangFormat.html https://ortogonal.github.io/cpp/git-clang-format/ https://stackoverflow.com/questions/55965712/how-do-i-add-clang-formatting-to-pre-commit-hook