Bug 5879 - "Sort usings" feature is gone
Summary: "Sort usings" feature is gone
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: Trunk
Hardware: PC All
: Lowest enhancement
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2012-06-27 03:02 UTC by Lopatkin Ilja
Modified: 2012-10-04 15:06 UTC (History)
1 user (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:
RESOLVED FIXED

Description Lopatkin Ilja 2012-06-27 03:02:36 UTC
Before switching to the new resolver there were two possible actions for using directives: remove unused usings and sort usings. Now there's left only the former.
Is it planned to implement this feature or there's some workaround?
Comment 1 Mike Krüger 2012-06-27 04:23:37 UTC
Atm it's not planned to implement it - but I would accept a good implementation for that.

Maybe the next time I'll work on the refactoring actions.
Comment 2 Lopatkin Ilja 2012-10-04 07:18:37 UTC
I've tried to implement this feature myself in NRefactory so it should be avaiable in MD quite soon. I think the issue can be closed.

Commit:
https://github.com/icsharpcode/NRefactory/commit/4b3f83be72e9cba547826bab9940ed1ddd1ed000
Comment 3 Mikayla Hutchinson [MSFT] 2012-10-04 15:06:35 UTC
Confirmed, it has already been pulled into our internal development branch that will become MD 4.0. Thanks!