Bug 11209 - Format document does not respect code formatting settings
Summary: Format document does not respect code formatting settings
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 4.0.1
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2013-03-17 05:18 UTC by Rhys
Modified: 2013-03-18 10:20 UTC (History)
2 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 Rhys 2013-03-17 05:18:28 UTC
Description of Problem:

Steps to reproduce the problem:
1. Create a custom code formatting policy for C#
2. Edit > Format > Format Document

Actual Results:
Document is formatted with the default policy

Expected Results:
Document is formatted with my custom policy

How often does this happen? 
Every time

Additional Information:
This did not happen prior to the Xamarin.iOS changeover
Comment 1 Mikayla Hutchinson [MSFT] 2013-03-18 10:19:32 UTC
Policies are per-solution - your Preferences are only used for new solutions. You need to edit Solution Options.
Comment 2 Mikayla Hutchinson [MSFT] 2013-03-18 10:20:06 UTC
If my explanation does not apply to you, please reopen with more detailed repro steps.