- 
    Bug 
- 
    Resolution: Duplicate
- 
    P2: Important 
- 
    None
- 
    Qt Creator 3.1.0-beta
- 
    None
- 
    Windows, Linux, Latest master, Qt 5.2
The bug already exists for more than a month IIRC.
I was sure everybody notice it and it will be eventually fixed, but I see it doesn't, so here's a report 
void foo()
{ // Press Enter here
}
Result:
void foo()
{
}
}
- is replaced by
- 
                    QTCREATORBUG-11563 Regression: Editor adds second closing brace to class, creating syntax error -           
- Closed
 
-         
- 
                    QTCREATORBUG-11566 Regression: Code folding does not find end of function correctly -         
- Closed
 
-