Bug 12873 - Format document removes the trailing ]
Summary: Format document removes the trailing ]
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 4.0.8
Hardware: PC Windows
: --- normal
Target Milestone: master
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2013-06-25 13:21 UTC by Peter Hultqvist
Modified: 2014-01-22 08:16 UTC (History)
2 users (show)

Tags:
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:
Status:
VERIFIED FIXED

Description Peter Hultqvist 2013-06-25 13:21:11 UTC
"Format document" removes the trailing ] in assembly lines when "Format Document" is used:

Before:
[assembly: AssemblyDescription("")]

Edit->Format->Format Document

After:
[assembly: AssemblyDescription("")

Also tested in monodevelop master branch with the same results.
Comment 1 Mike Krüger 2013-06-26 02:16:19 UTC
fixed in nrefactory - but will require a stable mono 3 for beeing used in monodevelop master.

I suspect 2-3 months.
Comment 2 narayanp 2014-01-22 08:16:22 UTC
I have checked this issue with following builds:

All Mac
X.S 4.2.3(build 154)
Release ID: 402030154
Git revision: 4dca4a28d7ecc2c4df8a4d58e74b8902d0283b53
Build date: 2014-01-21 19:51:39+0000
Xamarin addins: cc120a6f639fa6649aa4d23a0f0e7c5701134047


I have opened AssemblyInfo.cs file and use Edit->Format Document. It is not removing ].