Skip to content

Latest commit

聽

History

History
48 lines (33 loc) 路 1.94 KB

README.md

File metadata and controls

48 lines (33 loc) 路 1.94 KB

VSNamespaceAdjuster

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.

Video-Example 馃幀

simple video gif

Donations are appreciated! 馃捀

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! 馃榾

Buy 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.

Supported file extensions

  • .cs
  • .vb

Contribute and add support for more file extensions

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 NamespaceUpdater directory create your own XXNamespaceUpdaterService.cs class.
  • Make sure the name starts with the file extension that it supports, like CsNamespaceUpdaterService.cs, clearly indicating that it updates Csharp (.cs) files.
  • Make your class inherit from LogicFileNamespaceUpdaterService and implement how the Updater should behave.
  • Last but not less important, add your service to provider FileNamespaceUpdaterProvider list, inside it's constructor.
public FileNamespaceUpdaterProvider()
{
  updaterServices.Add(new CsNamespaceUpdaterService());
}

I'll appreciate any contribution!