Bug 12600 - Code is formatted incorrectly on paste
Summary: Code is formatted incorrectly on paste
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: unspecified
Hardware: PC Mac OS
: Normal normal
Target Milestone: master
Assignee: Mike Krüger
Depends on:
Reported: 2013-06-07 18:12 UTC by Alex Corrado [MSFT]
Modified: 2014-01-20 05:53 UTC (History)
3 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 Alex Corrado [MSFT] 2013-06-07 18:12:30 UTC
When pasting C# code, the code is reformatted incorrectly. I tried pasting the entire content of a .cs file, and indent continually and incorrectly increased going down the file. You can work around this by hitting Undo immediately after the paste, but this step should not be necessary.
Comment 1 Mike Krüger 2013-09-12 05:52:05 UTC
should be fixed.
Comment 2 Atin 2014-01-20 05:53:18 UTC
Today, we have checked this issue with:

XS 4.2.3(build 127) -  781819ed590c05a48201be53eb9602b56a4c1fde
ML 10.8.5

Now this issue is not exist, When I tried pasting the content of Activity.cs file in new file then Code is formatted correctly on paste.

screencast: http://www.screencast.com/t/1AaPIOZ2grwL

Hence marking this as Verified