User forums > General (but related to Code::Blocks)

Feature Request

(1/1)

fmc0501:
Can this be done?


--- Code: ---void myFunction() {
_}
--- End code ---

--- Code: ---void myFunction()
{
    _
}
--- End code ---
If I bring my opening curly brace down to the next line (as in the 2nd code view), I get the closing brace two lines down with my cursor between them, tabbed and ready for some code. But if I add an opening curly brace at the end (as in the first code view) and hit return, the closing brace simply goes down to the next line with my cursor in front of it. What would be nice is to have that closing brace dropped down another line and have the cursor tabbed over and ready for work.


--- Code: ---void myFunction() {
   _
}
--- End code ---

Navigation

[0] Message Index

Go to full version