You are here
Home > Programming > Rebracer – Save Visual Studio Editor Formatting Settings Per Solution

Rebracer – Save Visual Studio Editor Formatting Settings Per Solution


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:

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.

Just another quick note. If you use Rebracer with Visual Studio 2010 you must ensure that the .NET Framework 4.5 is installed. Rebracer is also Open Source. You can find more information on GitHub.

Dirk Strauss
Dirk is a Software Developer from South Africa. He loves all things Technology and is slightly addicted to Jimi Hendrix. Apart from writing code, he also enjoys authoring books and articles. "I love sharing knowledge and connecting with people from around the world. It's the diversity that makes life so beautiful." Dirk feels very strongly that pizza is simply not complete without Tabasco, that you can never have too much garlic, and that cooking the perfect steak is an art he has almost mastered.

Similar Articles