Rebracer – Today a fellow MVP asked a very interesting question. I didn’t think of this before, I must admit. Not until Matt asked it, which got me thinking that there must be other developers out there using Visual Studio that have the same requirement. It boils down to having different editor settings in Visual Studio for each project.
If you came here for something else? Try these links instead:
- EncryptValidate – My First NuGet Package
- Visual Studio 2017 Installer Projects
- Siri Tip Calculator Shortcut
- Exception Thrown By The Target Of An Invocation – Resolved… Sort Of
So instead of having global editor settings that apply to all projects, you can be more granular in your approach.
Rebracer – Will The Real Extension Please Stand Up
Initially I thought that it would be a nice pet project to write a Visual Extension to do this. I am a lazy programmer. So I decided to see if anyone has already written something similar. I came across this nice extension in the Visual Studio Gallery. It was written by Schabse Laks. It is called Rebracer and is free to download and use. As per the description on the gallery:
Rebracer solves an age-old problem with working on C# projects. From a variety of source: source formatting settings. If you work on different open source projects, or on projects for different companies, each one is likely to have a different One True Brace Style. Forcing you to change your Visual Studio settings every time you switch projects. Rebracer solves this by storing these settings alongside each solution. When you open a solution, Rebracer will automatically apply that solution’s settings. Leaving you free to write code as usual. Whenever you open a solution, Rebracer will check for a Rebracer.xml file in the solution directory. If it finds one, it will load all settings from that file so that the solution will use its specified settings.