Bug 757 - Code formatting causing strange formatting
Summary: Code formatting causing strange formatting
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: 2.6
Hardware: Macintosh Mac OS
: Low normal
Target Milestone: master
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2011-09-12 09:40 UTC by Chris Hardy [MSFT]
Modified: 2015-08-20 03:24 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Chris Hardy [MSFT] 2011-09-12 09:40:30 UTC
Improve the Code Formatting. It's making some freeking results here.Don't know if you can reproduce it on your side, but this sequence:

using(var reader = cmd.ExecuteReader()) { }
Produces
using(var reader = cmd.ExecuteReader(

)) { }
Comment 1 Chris Hardy [MSFT] 2011-09-13 03:57:04 UTC
Or an option to disable code formatting
Comment 3 Lluis Sanchez 2011-11-15 14:45:29 UTC
Mike, is this fixed in the new resolver branch?
Comment 4 Mike Krüger 2012-01-24 03:40:35 UTC
Works in new resolver branch - backports of the engine are very difficult.