Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lewiuberg opened this issue Feb 10, 2023 · 0 comments
Open

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

lewiuberg opened this issue Feb 10, 2023 · 0 comments

Comments

@lewiuberg
Copy link

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):

  • OS: macOS
  • Version 13.0
  • vscode version 1.75.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants