C
carl.manaster
Hi, Group,
I prefer indenting braces with their block, thus:
public int Foo()
.....{
.....Bar();
.....}
[using dots because I know newsreaders tend to mess up whitespace]
But when I copy and paste such code in the IDE, it "fixes" the brace
placement for me, thus:
public int Foo()
{
.....Bar();
}
Please, leaving aside the issue of which way is "better", is there any
way to turn off this behavior? I'm happy to report that drag and drop,
at least, doesn't mess up my indentation.
Peace,
--Carl
I prefer indenting braces with their block, thus:
public int Foo()
.....{
.....Bar();
.....}
[using dots because I know newsreaders tend to mess up whitespace]
But when I copy and paste such code in the IDE, it "fixes" the brace
placement for me, thus:
public int Foo()
{
.....Bar();
}
Please, leaving aside the issue of which way is "better", is there any
way to turn off this behavior? I'm happy to report that drag and drop,
at least, doesn't mess up my indentation.
Peace,
--Carl