tags:

views:

9

answers:

0

Just installed MonoDevelop and enabled the "Insert matching brace" and "On the fly code formatting" options. It's producing rather weird behavior. When I type

int f() {

It inserts a matching brace, as expected. This gives me:

int f() {|}

(Let | be my cursor). However, when I hit enter, I get this:

int f()

|{
}

It puts my cursor in the most useless position, and it inserts an extra line break for no good reason? The desired output would be

int f()
{
    |
}

Anyone know how to fix this? Is this a bug?