User forums > Using Code::Blocks

Bracket style after defining a function

(1/1)

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

--- Code: ---void function () {}

--- End code ---
When I hit enter, Code Blocks do this

--- Code: ---void function () {
}

--- End code ---
But I want like this

--- Code: ---void function () {
    // the cursor will be here when I hit Enter
}
--- End code ---

Navigation

[0] Message Index

Go to full version