Sync namespace and folder name
This refactoring applies to:
- C#
What: Sync namespace and folder name.
When: You want to rearchitect parts of your solution by dragging a file to a new folder.
Why: You want to make sure your namespace keeps up-to date with your new folder structure.
How-to
Place your cursor in the namespace name.
Press Ctrl+. to trigger the Quick Actions and Refactorings menu.
Select Change namespace to <folder name>.
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for