I and two other people are developing a code in C, and each one did their part of the code, but it was very "messy", is there any command for the codeblocks, the IDE we are using, or some site that lines the code automatically? Thanks in advance.
I and two other people are developing a code in C, and each one did their part of the code, but it was very "messy", is there any command for the codeblocks, the IDE we are using, or some site that lines the code automatically? Thanks in advance.
You can indent in CodeBlocks by accessing:
Plugins > Source code formatter (AStyle)
Youcanalsoassociateashortcuttotheindentationby:
Settings>Editor>Keyboardshortcuts>Sourcecodeformatter(AStyle)
TheninNewShortcut
settheshortcutyouwantandmakeAdd
Itisevenpossibletoconfigurehowtheindentationisappliedto:
Settings>Editor>Sourceformatter
Whether at the level of style, indentation in tabs or spaces, keywords not to indent, etc ...
Use Notpad ++ using TextFX > TextFX Edit > Reindent C ++ code.
Or use Sublime Text.
http://substanciando.blogspot.com.br/2014/02/indentacao-no-sublime-text.html