The Move Type To Namespace refactoring allows you to quickly move a type from one namespace to another.


Language Support

Supported: C#, VB.NET

Not relevant: ASP.NET, XAML, JavaScript, HTML

To move a type to another namespace

  1. Place the caret over a type identifier.
  2. Press Alt+Insert. From the pop-up menu, select Move Type To Namespace...
  3. Enter the new namespace in the dialog.

    Move Type To Namespace
  4. Click Ok to finish or Cancel to abort the operation.

To move a type to another namespace you can also navigate on the main menu. Choose JustCode | Refactor | Move Type To Namespace, or just press Ctrl+R, Ctrl+O