Is there an eclipse plugin that runs google cpplint.py in open files?

I would love to run cpplint.py from Eclipse so that I can find places where I make the wrong style decisions (at least according to the Google style guide)

+4
source share
2 answers

I do not know cpplint.py , but you should be able to run any tool from Eclipse as an "external tool."

See below Run >> Externals Tools

Arguments can be parameterized , so you can include the path to the current project or the like. The output is placed in the console view, and if the messages from the tool are similar to messages from other tools (for example, "file: line: message"), you should also have hyperlinks from the corresponding files.

0
source

Perhaps you can try this http://wangzw.imtqy.com/CppStyle/ This is an eclipse plugin that runs cpplint.py on save. It also adds clang-format as another formatting for c / C ++ code.

0
source

All Articles