Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: fmc0501 on August 17, 2020, 09:30:05 am

Title: Feature Request
Post by: fmc0501 on August 17, 2020, 09:30:05 am
Can this be done?

Code
void myFunction() {
_}
Code
void myFunction()
{
    _
}
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() {
   _
}