Bug 9166 - C# code formatting white space between empty parenthesis doesn't appear to be working
Summary: C# code formatting white space between empty parenthesis doesn't appear to be...
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 3.0.x
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2012-12-30 18:01 UTC by Trevor.Dearham
Modified: 2012-12-31 03:37 UTC (History)
1 user (show)

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


Attachments
Screen shot of selected method invocation options and preview (46.42 KB, image/png)
2012-12-30 18:01 UTC, Trevor.Dearham
Details
Screen shot of selected object creation options and preview (46.69 KB, image/png)
2012-12-30 18:02 UTC, Trevor.Dearham
Details


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 Trevor.Dearham 2012-12-30 18:01:59 UTC
Created attachment 3147 [details]
Screen shot of selected method invocation options and preview

In the white space settings of the C# code formatter options, the method invocations and object creation sections both have a setting for within parenthesis and between empty parenthesis. In those two sections, if within parenthesis is deselected, the between empty parenthesis setting behaves as it does in the other sections. If however the within parenthesis setting is selected, a space is always added between empty parenthesis no matter if the between empty parenthesis setting is selected or deselected, as seen in the preview window and when the code formatting is applied. In the other sections these two settings are independent of each other. Is this the intended behaviour?
Comment 1 Trevor.Dearham 2012-12-30 18:02:33 UTC
Created attachment 3148 [details]
Screen shot of selected object creation options and preview
Comment 2 Mike Krüger 2012-12-31 03:37:02 UTC
fixed - no that isn't intended - that's a bug.

I really whish that I would get some time to fix the formatting/indenting issues.