dotnet/roslyn

Changing namespace to match directory structure in whole directory

Open

#57,847 opened on Nov 18, 2021

View on GitHub
 (2 comments) (1 reaction) (0 assignees)C# (4,257 forks)batch import
Area-IDEConcept-Continuous ImprovementDeveloper CommunityIDE-CodeStylehelp wanted

Repository metrics

Stars
 (20,414 stars)
PR merge metrics
 (Avg merge 6d 17h) (256 merged PRs in 30d)

Description

This issue has been moved from a ticket on Developer Community.


Currently if namespace does not reflect directory structure there is a Light Bulb option to change the namespace element to match the structure. You can also choose to do it for all occurrences in project or solution. Unfortunately, there is no way to do it only in current directory. It would be extremely helpful while refactoring.


Original Comments

Feedback Bot on 10/28/2021, 01:52 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Contributor guide