Projects
Discord
Events
Jams
Unwind
Conferences
Resources
Forums
Fishbowls
Podcast
Newsletter
About
Manifesto
About the Team
Log In
← Back to index
C linter
Connor Stack
#12107
June 4, 2017
Does anybody use / know of a good C linter / formatter? I want the equivalent of
gofmt
for Go or
Rubocop
for Ruby
Mārtiņš Možeiko
#12108
June 4, 2017
I have used clang-format a lot. It's is pretty nice, you can configure it to your liking and it has integration into ton of a IDE's/editors.
Connor Stack
#12119
June 5, 2017
Awesome, thanks for the tip.
On my mac I was able to `brew install clang-format` then run `clang-format -style=Google -i *.c` to format all my C files with Google's style rules.
Reply to Thread
← Back to index