Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: MinGW on April 06, 2016, 02:14:30 pm

Title: Bracket style after defining a function
Post by: MinGW on April 06, 2016, 02:14:30 pm
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
Code
void function () {}
When I hit enter, Code Blocks do this
Code
void function () {
}
But I want like this
Code
void function () {
    // the cursor will be here when I hit Enter
}