Bug 568 - Format Selection and Format Document don't work as expected.
Summary: Format Selection and Format Document don't work as expected.
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: 2.8 Alpha 2
Hardware: PC Mac OS
: Low normal
Target Milestone: ---
Assignee: Mike Krüger
Depends on:
Reported: 2011-08-31 10:51 UTC by Alan McGovern
Modified: 2011-12-12 01:42 UTC (History)
3 users (show)

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:

Description Alan McGovern 2011-08-31 10:51:05 UTC
Just porting this bug form assistly:

'Format selection' and 'format document' should format it to the C# formatting settings of the project

For example, i have configured a if like:


formatting gives me:
if(x) {


MonoDevelop: 2.8 Alpha 2
Runtime: Mono 2.10.2 (2.10.2/ce3b0b7 Thu Jul 28 12:23:44 CEST 2011)
Operating System: Linux (Unix
Distributor: Xamarin
Comment 1 Mike Krüger 2011-12-12 01:42:53 UTC
Works for me - this is more an issue with the policy system than with the formatting engine.

If you have a case where it happens again, re open & attach the project.