Adding usings inside the namespace

resharper, visual-studio

Solution

Options > Code Editing > C# > Namespace Imports:

Insert using directives when necessary > Add using directive to the deepest scope.

Problem

Is there a way to configure ReSharper to add using references to a file within the appropriate namespace? Currently it adds them to the top of the file, which is fine, until you want multiple namespaces in the same file. For example, I would like it to be like the following: ``` namespace A { using System; // other classes } ```

Original source