Created by Eric Batlle Clavero
A simple Visual Studio extension to select one or multiple .cs files and adjust them with the specified Namespace.
This extension is available in the Marketplace.
Remember that are many ways to say thank you.
If this extension has been helpful remember to star the repository and consider buying me a coffee! 😀
If you like my general work and contributions consider sponsoring me on Github.
But if you just want to donate straightforward, I also have PayPal.me.
- .cs
- .vb
If you want to open a PR and contribute to this plugin I'll be more than happy.
Just remember that if you want to add support for new file extensions please follow the current code pattern:
- Inside
NamespaceUpdaterdirectory create your ownXXNamespaceUpdaterService.csclass. - Make sure the name starts with the file extension that it supports, like
CsNamespaceUpdaterService.cs, clearly indicating that it updatesCsharp (.cs)files. - Make your class inherit from
LogicFileNamespaceUpdaterServiceand implement how the Updater should behave. - Last but not less important, add your service to provider
FileNamespaceUpdaterProviderlist, inside it's constructor.
public FileNamespaceUpdaterProvider()
{
updaterServices.Add(new CsNamespaceUpdaterService());
}I'll appreciate any contribution!
