Open dcwhite opened 4 years ago
See other tagged issues: https://github.com/SCIInstitute/SCIRun/labels/C%2B%2B11%2F14
Resharper for C++ can handle most of these too, but costs money.
This issue is stale because it has been open 240 days with no activity. Remove the stale label or comment, or this will be closed in 60 days.
I have Resharper now! I'll make a list of the most important ones here.
Yup! On the clang-tidy documentation, it says we can set the flag --format-style='file' (literally 'file', not a placeholder), and it will find the .clang-format file in the closest parent folder.
Feel free to make any changes to the format file.
Also, clang-tidy has a feature that does a project-wide refactor if you have a compilation database, which I did manage to create with bear to get IDE features. Though it'd be nice to get the compilation database made without bear because it is not available on Windows and requires turning off System Integrity Protection in Mac OS. You also have to stop the build after externals are finished, go to the bin/SCIRun folder, then restart with bear. Do you know if there's a way to set a cmake flag only for building in bin/SCIRun?
Originally posted by @RubioJr9 in https://github.com/SCIInstitute/SCIRun/pull/2113#issuecomment-628323491