Resource Refactoring Tool provides developers an easy way to extract hard coded strings from the code to resource files.
Features for Resource Refactoring Tool
- Works with C#, VB.Net languages. Supports all project types that ships with Visual Studio 2005 including web sites and web application projects.
- A preview window to show changes.
- Finds other instances of the text being replaced in the project automatically.
- Lists existing resources by their similarity level to the text being replaced.
- Automatically replaces hard coded string with a reference to resource entry.
Quick Start to using Resource Refactoring Tool
- Run ResourceRefactor.msi to install. If you have any earlier version please uninstall those versions first and run Visual Studio at least once before installing the new version.
- Launch Visual Studio 2005
- Open either a VB.Net or C# project
- Right click on a hard coded string in a a code window and choose Refactor - Extract to resource. If you don't see the menu item and you had a previous version of Resource Refactoring Tool installed before, you may have to reset the addin by running Visual Studio from Visual Studio 2005 Command Prompt with the following arguments: devenv.exe /resetaddin Microsoft.VSPowerToys.ResourceRefactor.Connect. This should fix the missing menu items.
- Choose the resource file you want to use and either choose an existing resource or create a new one. After closing the dialog window, string will automatically be replaced with the reference to resource you have chosen.
Contributing to Resource Refactoring Tool
We're looking for developers to join us in future releases. Check out the current work items at issue tracker.
Feel free to contribute by
- Reading Getting Started with Resource Refactoring Tool Development.
- Either creating new or finding existing bugs or feature requests you want to work on
- Leave a note in the comments that you're going to investigate this bug (until you have developer rights, you won't be able to assign bugs to yourself)
- Download the latest sources and create a bug fix
- Zip up your changes and post them as an attachment to the work item
- Fill out the Project_Assignment_Agreement.TIF form and follow the Assignment Agreement Instructions to send it to us.
Note that by posting your submission to the Issue Tracker, you agree to do so under the CodePlex TOU
Join the Community
There are numerous ways you can participate in the Resource Refactoring Tool community
- Blog about Resource Refactoring Tool
- Ask and answer questions regarding Resource Refactoring Tool on the discussions tab
- Fix bugs or check in new features - see above section