Napomena
Pristup ovoj stranici zahteva autorizaciju. Možete pokušati da se prijavite ili da promenite direktorijume.
Pristup ovoj stranici zahteva autorizaciju. Možete pokušati da promenite direktorijume.
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>.