Bug 11219 - Format Document is not working correctly and C# format do not work
Summary: Format Document is not working correctly and C# format do not work
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: 2.8 Beta 2
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2013-03-17 23:07 UTC by Shawn Lewis
Modified: 2013-03-18 01:35 UTC (History)
1 user (show)

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


Attachments
error in CSharp format (173.96 KB, image/pjpeg)
2013-03-17 23:08 UTC, Shawn Lewis
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 Shawn Lewis 2013-03-17 23:07:30 UTC
Description of Problem:
Question1: 
  when i use format document , all the Tab width changes from 4 to 1
Question2: 
  Options/TextEditor/CodeTemplates and Solution/Option/SourceCode/CodeFormtting do not work. 

Steps to reproduce the problem:
for Question2:
1. the bracers in Class declaration is set like this(both in Menu/Options and Solution/Options):
2. class ClassDeclaration
   {
   } 

Actual Results:
   class ClassDeclaration {
   }

Expected Results:
   class ClassDeclaration
   {
   } 

How often does this happen? 
always

Additional Information:
Comment 1 Shawn Lewis 2013-03-17 23:08:42 UTC
Created attachment 3642 [details]
error in CSharp format
Comment 2 Shawn Lewis 2013-03-17 23:27:05 UTC
this error seems not existed . 
I donnot know how it happens and disappeared a moment later.
thank s for read my report!
Comment 3 Mike Krüger 2013-03-18 01:35:46 UTC
Try to upgrade to 4.0. 2.8 is very old