Code::Blocks

Developer forums (C::B DEVELOPMENT STRICTLY!) => Contributions to C::B => Topic started by: Sergiu on October 10, 2014, 04:45:55 pm

Title: Unable to put space after open the curly braces
Post by: Sergiu on October 10, 2014, 04:45:55 pm
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;
}
Title: Re: Unable to put space after open the curly braces
Post by: raynebc on October 10, 2014, 07:38:53 pm
Open the Settings menu, select Editor, select General settings and enable the "Auto indent" feature under the Indent Options heading.