News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Bracket style after defining a function

Started by MinGW, April 06, 2016, 02:14:30 PM

Previous topic - Next topic

MinGW

After definite a function, I open a curly bracket and Code Blocks had opened another for me. And when I hit enter, Code::Blocks set the second bracket in the new line.

Before

void function () {}

When I hit enter, Code Blocks do this

void function () {
}

But I want like this

void function () {
    // the cursor will be here when I hit Enter
}