travisjeffery / ClangFormat-Xcode

Xcode plug-in to to use clang-format from in Xcode and consistently format your code with Clang
https://twitter.com/travisjeffery
MIT License
2.89k stars 288 forks source link

integrate clang-tidy with this plugin. #137

Open iradization opened 2 years ago

iradization commented 2 years ago

Hi, I was wondering if it's possible to add also clang-tidy rules using this plugin.

Perhaps there is a way to use this plugin and make xcode extract the rules from .clang-tidy and apply them on each compilation ?

I couldn't find anyway to do it, so i presume it's unsupported by default . but perhaps in this plugin I can initiate a modified compilation command... perhaps using the file compile_commands.json.

thanks