dotnet / roslyn

The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/
MIT License
19.08k stars 4.04k forks source link

Support Sync File and Type Name in file/project/solution #14340

Open kuhlenh opened 8 years ago

kuhlenh commented 8 years ago

From comment in P5 Blog Post:

"Does the “Sync File and Type Name” refactoring also change the namespace of a type to match its folder name? And can it be performed in batch? This would make mass renames/moves of namespaces much easier!" https://blogs.msdn.microsoft.com/visualstudio/2016/10/05/announcing-visual-studio-15-preview-5/#comments

Pilchie commented 8 years ago

Totally agree, but this isn't going to fit before VS "15" ships.

kendrahavens commented 5 years ago

Developer community

mikegoatly commented 4 years ago

This issue is referenced in a number of places, e.g.

The title of the issue is not representative of any of these links - they are all specifically about fixing all namespaces in a given folder in the Solution Explorer view whereas this issue appears, on the surface at least, to only be about syncing class and file names. I appreciate that the description of the issue includes namespace refactoring, but I fear this issue misses out on support because of its title.

CyrusNajmabadi commented 4 years ago

but I fear this issue misses out on support because of its title.

We're aware of both the file-name and folder-name portoins of this item. Thanks :)