Forum Xamarin.iOS

Format document moves 'using' into header comments

JamesLaveryJamesLavery GBBeta, University ✭✭✭✭✭
edited May 2013 in Xamarin.iOS

Hi all,
A small Format Document bug.

If you have a single blank line between your header comment block and the first using, Format Document moves the first Using on to the end of the last header line.

Before

// *********************************************************************
// $Id$
// $Author$
// $Date$
// $Change$
// *********************************************************************
//
//

using System;

After

// *********************************************************************
// $Id$
// $Author$
// $Date$
// $Change$
// *********************************************************************
//
//using System;
using MonoTouch.Foundation;
using MonoTouch.UIKit;

If there is more than one blank line, or no blank lines, it's fine.

Edit realised I'd posted this in iOS forum not Xamarin Studio forum. Post added to XS forum - now I just have to work out how to delete a post...

Sign In or Register to comment.