News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Unable to put space after open the curly braces

Started by Sergiu, October 10, 2014, 04:45:55 PM

Previous topic - Next topic

Sergiu

Hello, is the first time when i use codeblocks and i have a problem.
When ai write a code and i open curly braces he don't put space in the next line.
My english is a little bad, to understand i put an example:
When i write he doesn't put space befor int a:
int main() {
int a; (here is not ok)
}
I want him to put space after i open curly braces befor int a;
int main() {
      int a;
}

raynebc

Open the Settings menu, select Editor, select General settings and enable the "Auto indent" feature under the Indent Options heading.