Move File to Matching Folder

Moves a file to the folder that corresponds to the current namespace.

Availability

Available from the context menu or using shortcuts:

  • when the caret is on a namespace declaration and the file is located in a folder whose name differs from the namespace name.

Example

namespace MyApplication.Core
{
}
Namespace MyApplication.Core
End Namespace