Bug 4582 - Code formating: if () return staments on one line
Summary: Code formating: if () return staments on one line
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Hardware: PC Windows
: Low enhancement
Target Milestone: ---
Assignee: Mike Krüger
Depends on:
Reported: 2012-04-22 09:21 UTC by pinggi
Modified: 2013-08-19 05:43 UTC (History)
1 user (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:

Comment 1 Mike Krüger 2012-04-23 01:59:26 UTC
Missing option -> enh.
Comment 2 Mikayla Hutchinson [MSFT] 2012-04-23 07:25:49 UTC
Does this need to be private?

Also, I don't think it's an enh, now that we have the autoformatter changing formatting on typing ";".
Comment 3 Mike Krüger 2012-04-23 11:16:12 UTC
It's an enh because it's a missing option. For example in our 'mono' style 1 lined if statements aren't defined. (nor in the standard styles we provide)

But I've seen such formatting before, the option is valid - but it's an option. We have many options missing in the formatting definition, but we need to solve the option update problem in the policies first.
Comment 4 Mike Krüger 2013-08-19 05:43:25 UTC
I added the option.