News:

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

Main Menu

Alternate Bracket completion

Started by kolonial, June 07, 2016, 07:22:51 AM

Previous topic - Next topic

kolonial

So the default bracket completion works like this :

int main(void){}       

the cursor is placed just before the closing bracket and then you have to press enter to bring the closing bracket to a new line.

I want it to be like this :

int main(void){
        char b;
}

when you type the first bracket and press enter, the cursor goes to the new tabbed line and the closing bracket is placed in the second line like above ... netbeans is like the latter. is there an option in Code blocks that lets you do this ?