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
When I hit enter, Code Blocks do this
But I want like this
void function () {
// the cursor will be here when I hit Enter
}