[MonoDevelop] Smart indent
Michael Hutchinson
m.j.hutchinson at gmail.com
Mon Mar 2 14:38:22 EST 2009
On Mon, Mar 2, 2009 at 1:47 PM, James Boulton <j.boulton at veritide.com> wrote:
> 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?
CC yourself on https://bugzilla.novell.com/show_bug.cgi?id=415469 :)
--
Michael Hutchinson
http://mjhutchinson.com
More information about the Monodevelop-list
mailing list