Stop Visual Studio from putting using directives outside namespace
You can set this in Re-sharper. Re-sharper > Options > C# > Namespace Imports > Add using directive to the deepest scope. Update: As of VS2015 and Resharper10, this has moved. It is now under: Code Editing > C# > Code Style > Reference qualification > Add ‘using’ directive to deepest scope