fernandoescolar / vscode-solution-explorer

This is a Visual Studio Code extension that provides a (.sln) Visual Studio Solution explorer panel..
MIT License
348 stars 73 forks source link

Move to folder isn't updating namespace in the file #260

Open lewiuberg opened 1 year ago

lewiuberg commented 1 year ago

Describe the bug If I select a file in folder one/two/file.cs and input it to move to the new location one/file.cs the namespace line in file.cs remains unchanged, aka namespace one.two instead of namespace one.

To Reproduce Steps to reproduce the behavior:

  1. In the solution explorer, right-click file to move and select move to folder.
  2. Input new destination.
  3. Observe the namespace line in the file.

Expected behavior The namespace line is changed to reflect the file's location.

Environment (please complete the following information):