| 
| Automatic code guideline checking in CDT possible? [message #157255] | Thu, 03 November 2005 09:34 |  | 
| Eclipse User  |  |  |  |  | Hi, 
 when you write java-code with Eclipse, you can use a plugin called
 "checkstyle"
 (http://eclipse-cs.sourceforge.net/) to check your code for compliance with
 some low-level coding conventions, like:
 - only one statement per line
 - line length may not exceed a certain value
 - classname must begin with a capital letter (you can enter regexp's
 that must be matched)
 - indentation with 2 spaces, not TAB (configurable)
 - etc.
 The plugin generates warnings in the corresponding code lines right after
 you save a source file.
 
 I'm looking for a way to do something like this with C-Code.
 (e.g. as add-on for the CDT plugin)
 
 I googled after eclipse/plugin/CDT/check/code and so on, but I came up
 with nothing.
 I also checked http://www.eclipse-plugins.info, no result for C-Code.
 As a last resort, I could use some standalone lint-like program (e.g.
 splint; http://www.splint.org/)
 and write an error parser for it. But splint doesn't exactly meet my needs
 for code checking.
 
 Could anyone give me a hint, is there a plugin out there that I have
 missed ?
 
 Many thanks,
 --
 Michael
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.03188 seconds