SLaks / Rebracer

Saves editor formatting settings as part of each solution.
http://visualstudiogallery.msdn.microsoft.com/410e9b9f-65f3-4495-b68e-15567e543c58
44 stars 15 forks source link

More granular control over which settings are saved where #26

Open ekolis opened 8 years ago

ekolis commented 8 years ago

I'd like to have the option to persist only certain settings to Rebracer.xml for any given solution, rather than automatically dumping them all.

I'd also like to be able to say "this is a global setting" when I have a solution open and adjust some settings, so it's saved normally and not through Rebracer.xml. Otherwise I'd have to close the solution before doing so, which I'd surely forget!

EddieWhi commented 7 years ago

I've had the same issue and have created a fork with a proposed change:

In the solution's Rebracer.xml file you can add the attribute RebracerCanAddValues="false" to any ToolsOptionsSubCategory element. This will prevent Rebracer from adding any additional PropertyValue elements to the ToolsOptionsSubCategory element, only update those that are already there.

I'm planning to use this change to persist C# tab settings without effecting thinks like the scroll bar settings that are user specific but in the same section:

`

true

`

@SLaks, would you mind taking a look at my fork and letting me know what you think?