[MonoDevelop] Smart indent

James Boulton j.boulton at veritide.com
Mon Mar 2 13:47:45 EST 2009


Hi all.

I've noticed in Monodevelop 2 beta 1. that if you have a ternary
operator within a switch block that smart indent doesn't.

I.e.

switch (random)
{
    case 1:
    return (random > 5) ? ( "Big" ) : ("small");
.....

I think the ':' in the ternary operator stuffs it up. Is this worth
filing a bug for?

James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20090303/0bd58aaf/attachment.html 


More information about the Monodevelop-list mailing list