Author Topic: Alternate Bracket completion  (Read 2352 times)

Offline kolonial

  • Single posting newcomer
  • *
  • Posts: 5
Alternate Bracket completion
« on: June 07, 2016, 07:22:51 am »
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 ?