Bug 3830 - Generated code should respect code style settings
Summary: Generated code should respect code style settings
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Mike Krüger
Depends on:
Reported: 2012-03-09 12:57 UTC by Eric Fikus
Modified: 2012-03-12 13:49 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:

Description Eric Fikus 2012-03-09 12:57:50 UTC
For example, in a solution configured with no space before ( in constructors/method declarations: Creating a new C# class creates an empty class with a constructor like

    public NewClass ()

that should be

    public NewClass()

similar for completing method declarations after typing "public override".  Choosing a completion suggestion writes the method name with a space before (.
Comment 1 Mike Krüger 2012-03-12 13:49:22 UTC
Will work in the next generation of the code generation framework - see 2.9.2 alpha.