style guide checker

P

Philipp Kraus

Hello,

I have got a project written in C++ and I need a "style guide" checker
which can be used by SVN or Git hooks. I would like to add also custom
rules.
The checker must be run under Linux, OSX and Windows and I preferre a
GPL or similar licence.

Does anybody know a good tool? I have found Vera++ but it is not under
devopling anymore.

Thanks

Phil
 
I

Ian Collins

Philipp said:
Hello,

I have got a project written in C++ and I need a "style guide" checker
which can be used by SVN or Git hooks. I would like to add also custom
rules.
The checker must be run under Linux, OSX and Windows and I preferre a
GPL or similar licence.

Does anybody know a good tool? I have found Vera++ but it is not under
devopling anymore.

Why do you need a tool? Just setup your editor to match the required
guidelines.
 
J

Jorgen Grahn

Why do you need a tool? Just setup your editor to match the required
guidelines.

I get the feeling his "style guide" covers more than what an editor
can. Exactly *what* he expects is hard to tell -- it could be
anything from whitespace-related things to naming schemes to
spellchecking of comments.

We are going to use Uncrustify as a commit hook for C code here, but
we haven't started yet so I don't know how well it will turn out. It's
supposedly very configurable. We'll use it for pure whitespace/
indentation issues.

(I would have preferred editor settings + written rules + human
feedback in review, but I was outvoted.)

/Jorgen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,527
Members
44,998
Latest member
MarissaEub

Latest Threads

Top