-
Notifications
You must be signed in to change notification settings - Fork 296
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
Make RD settings/preferences portable/shareable/backup-able #941
Comments
This is already done, unless I misunderstand something. Your settings are store in the ~/AppData/Roaming/Rubberduck.config file. |
Indeed the config file exists, but only the current config. #940 would add multiple configs) |
Oh! You want a Yeah. Sure. That's a great idea. It just took a minute to click on my head. That's a good idea. |
This one may take an unfortunate amount of effort, and I blame myself for the bad design. It worked really well for the purposes of the time, but will require some redesign to allow a user to load arbitrary settings files at runtime. I'm debating on whether or not it would be acceptable to add two overloads to XmlConfigurationServiceBase : IConfigurationService. This is the current interface.
This is the interface I think I'm proposing.
Note that I removed the
I can't imagine why we're only raising this event if the language changes, or worse, why the client code is responsible for figuring that out. Let's take a moment to clean this up while we're touching this code. Just raise the event. Doing this means that the event lies. It's not an |
@ckuhn203 it was done that way because the only reason we needed to know when settings changed, was to re-create the menus in the new locale, and we didn't need/want to do that when anything other than the language setting was changed. The 2.0 menus no longer involve destruction/re-building of the app menus and windows, so that strategy is moot now. |
Backing up and sharing common and consistent preferences between team members, between PCs, or across rebuilds would be nice feature.
Linking to #940
The text was updated successfully, but these errors were encountered: