1
Two other people and I are developing a C code, and each made their own part of the code, but it got very "messy", is there a command for the codeblocks, the IDE we’re using, or some site that automatically aligns the code? From now on, thank you.
1
Two other people and I are developing a C code, and each made their own part of the code, but it got very "messy", is there a command for the codeblocks, the IDE we’re using, or some site that automatically aligns the code? From now on, thank you.
3
You can indent in Codeblocks by accessing:
Plugins > Source code Formatter(Astyle)
You can also associate a shortcut to indentation via:
Settings > Editor > Keyboard shortcuts > Source code Formatter(Astyle)
Then in New Shortcut configure the shortcut you want and do Add
It is even possible to configure how indentation is applied in:
Settings > Editor > Source Formatter
Either style, indentation in tabs or spaces, Keywords not to indent, etc...
-1
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
Browser other questions tagged c codeblocks indentation
You are not signed in. Login or sign up in order to post.