To move a type to another folder
Select a class, interface, struct, or enum in
Class Viewor Object Browser, or position the caret at its name in the editor.
On the ReSharper menu or context menu, choose
Refactor | Move, or press F6. The Movedrop-down list appears, choose Move to Foldercommand. The Move to Folderdialog box opens:
Target folderdrop-down list to specify the folder where the chosen type should be moved.
Fix namespacescheck box is selected, ReSharper will automatically fix namespaces according to the new location.
If an internal type is moved to a folder in other project and
Allow change internal visibility to public when it is requiredcheck box is selected, ReSharper will automatically change visibility to public.
- If several types are selected, you can specify whether they should be moved into separate files or left as they are.