Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More granular control over which settings are saved where #26

Open
ekolis opened this issue Nov 22, 2016 · 1 comment
Open

More granular control over which settings are saved where #26

ekolis opened this issue Nov 22, 2016 · 1 comment

Comments

@ekolis
Copy link

ekolis commented Nov 22, 2016

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
Copy link

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:

<ToolsOptionsSubCategory name="CSharp" RegisteredName="CSharp" PackageName="Text Management Package" RebracerCanAddValues="false"> <PropertyValue name="InsertTabs">true</PropertyValue> </ToolsOptionsSubCategory>

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants