PDA

View Full Version : What would be most appropriate way to do code style checking in Qt creator?



mrsomeonee
23rd August 2011, 19:32
I have server that would not let to upload source code that does not follows some style (for example camel notation). Given that I have source for such style checker, what is the best way to integrate it into a Qt creator to check whether my code will pass that style validation. (Should it be plugin or something else)

Could you direct me to documentation or at least a name of tool that could help me with it?

wysota
24th August 2011, 09:59
subversion pre-commit hook, if you're using svn.

high_flyer
24th August 2011, 10:45
You can have a look at this:
http://www.qtcentre.org/threads/29081-Artistic-Style-Plugin?highlight=artistic