Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » vera++ Code Style Tool Integration
vera++ Code Style Tool Integration [message #768121] Mon, 19 December 2011 11:05 Go to next message
Eclipse UserFriend
Some of you may have, or may not have heard about Vera++, it's an open source application that checks for code style consistency and good practice. It generates output like:

src/google_perftools_test.cpp:43: keyword 'if' not followed by a single space
src/google_perftools_test.cpp:43: negation operator used in its short form
src/google_perftools_test.cpp:44: full block {} expected in the control structure
src/google_perftools_test.cpp:48: closing curly bracket not in the same line or column


When executed like this: ./vera++ inputfile.cpp

My question is if anyone of you know a good way how to integrate this in the eclipse problems view, just like a clickable gcc warning or error and with a warning triangle at the corresponding line in the code view?

regards
Fredrik
Re: vera++ Code Style Tool Integration [message #768133 is a reply to message #768121] Mon, 19 December 2011 11:27 Go to previous message
Eclipse UserFriend
For anybody interested I got it to work by putting the vera++ command in pre-build steps
Previous Topic:Function Signature Decoration
Next Topic:Linking statically to 3rd party libraries (on linux)
Goto Forum:
  


Current Time: Wed Jul 16 14:16:16 EDT 2025

Powered by FUDForum. Page generated in 0.10804 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top