QuickVtk icon indicating copy to clipboard operation
QuickVtk copied to clipboard

code formater tool

Open maidamai0 opened this issue 5 years ago • 2 comments

I have to disable auto-format function of my code editor when I modify code to keep the code style, a code formatter may help with this.

Clang-tidy is a good choice.

maidamai0 avatar Dec 21 '19 21:12 maidamai0

Thanks for your feedback! Do you mean the C++ code style of the project? Since I'm using Xcode on macOS, I can imagine that many other IDEs have issues with how Xcode handles .cpp/.hpp files...

qCring avatar Dec 23 '19 13:12 qCring

Yes, I mean the c++ code style.According to doc, it seems XCode does't have a integration with clang-tidy.

Clang-tidy can be integrated with cmake, you might want to have a try.

maidamai0 avatar Dec 23 '19 13:12 maidamai0