Best way to remove unused statements and order with statements in Xamarin Studio?

What is the best way to delete unused statements and orders using statements with Xamarin Studio?

I want to have a tool or extension / addin for Xamarin Studio to delete and sort using operators in all C # project files (on MAC).

Code example:

using System;
using System.Collections;

namespace DateInserter
{
    public enum DateInserterCommands
    {
        InsertDate,
    }
}

After refactoring:

namespace DateInserter
{
    public enum DateInserterCommands
    {
        InsertDate,
    }
}
+4
source share
1 answer

In Xamarin Studio, you need to enable code analysis. When you do this, you can sort your use, delete unused sort, etc.

You can find it in settings -> initial analysis (enable both)

+6

All Articles