title: Automatic namespace change after moving classes within directory tree in Visual Studio
body: <p>When the user adds an item (like class, or interface) to the project in Visual Studio, IDE automatically sets default namespace. Each assembly has default namespace, and in case of sub folders within the project, directory structure is reflected in the namespace.</p>
  
  <p>Following structure </p>
  
  <ul>
  <li>Project
  
  <ul>
  <li>Directory1
  
  <ul>
  <li>Subdirectory1
  
  <ul>
  <li>Class</li>
  </ul></li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>produces following namespace: </p>
  
  <blockquote>
    <p>namespace Project.Directory1.Subdirectory1</p>
  </blockquote>
  
  <p>At the beginning everything is clean, and well organized. However later, sometimes we need to move some class to other place. Visual Studio doesn't refactor the namespace after it by default. Is there any option in IDE to turn on? Is there any external tool for it?</p>