User forums > Help

Code linting in code::blocks (specificly C++)

(1/1)

codedcosmos:
It has been over a decade since:
http://forums.codeblocks.org/index.php?topic=7590.0l

Speaking of which congrats for keeping the project alive for that long.

Is linting possible in code blocks?

This (unverifiable) page says you can:
https://www.quora.com/Which-IDE-except-Eclipse-shows-syntax-error-while-writing-C%2B%2B-codes

BlueHazzard:
What do you understand by code linting?
Higlightening wrong code in the ide? If this-> There is the cbClang plugin that allows this. But you have to build the plugin by yourself. https://github.com/yvesdm3000/ClangLib
Run some code analyzer on top of your code? If this-> What program?

BlueHazzard:
If you are talking about this:
https://docs.oracle.com/cd/E19205-01/820-4180/man1/lint.1.html

Can you give some example command line you call for lint?

codedcosmos:
Sorry for late reply, not sure about elsewhere but the fourms have been down semi regularly for me.

Not sure about a specific command, but something similar to what eclipse or visual studio ide does. something like the red lines below text that has a compiling issue.

codedcosmos:
When I type complete gibberish, no real time linting occurs, its only until after I build that a red box appears, but even then, no description is provided, I have to manually check "build messages".

Navigation

[0] Message Index

Go to full version