You are currently viewing 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

As a seasoned software developer with a long-standing career in C# and Visual Studio, I have had the privilege of working with a number of companies and learning from some of the most talented individuals in the industry. In addition to my professional experience, I have authored multiple books on topics such as C#, Visual Studio, and ASP.NET Core. My passion for programming is unwavering, and I am dedicated to staying current with the latest technology and sharing my expertise with others.