I want to automate the Visual Studio 2010 / Resharper 5 auto inserting import directives to put my internal namespaces into the namespace sphere. Like this:
using System;
using System.Collections.Generic;
using System.Linq;
using StructureMap;
using MyProject.Core; // <--- Move inside.
using MyProject.Core.Common; // <--- Move inside.
namespace MyProject.DependencyResolution
{
using Core;
using Core.Common; // <--- My internal namespaces to be here!
public class DependencyRegistrar
{
...........
}
}
Currently, I'm doing it manually, the problem is that with every refactoring the using directives going up, to the beginning of the page.