I want to automate the automatic insertion of Visual Studio 2010 / Resharper 5 import directives to put my internal namespaces in the scope of the namespace. Like this:
using System;
using System.Collections.Generic;
using System.Linq;
using StructureMap;
using MyProject.Core;
using MyProject.Core.Common;
namespace MyProject.DependencyResolution
{
using Core;
using Core.Common;
public class DependencyRegistrar
{
...........
}
}
I am currently doing this manually, the problem is that with every refactoring using the directives up to the top of the page.
source
share