Here is an example C++ code in a C++ project:
void main(int argc, char *argv[]) {
if
}
Place the cursor to the right of the "f" in "if", and press space, it expands to this:
if ()<space>
{
}
The problem is that an extra "space" character is added after the closing parenthesis of the "if".
I was able to reproduce this in Beta2 with the attached project, just add the "if" in "RunContext.cc"
I'm able to reproduce this by creating a new configuration in an empty directory ("-sc <emptydir>"), and then modifying the brace style for "if" statements to "next line". After this modification of the configuration, put the cursor to the right of the "f" in "if" and press <space>.