Open SLaks opened 10 years ago
Why?
Formatting settings should not be changed by accident.
Well, it saves some settings, and i didn't change anything. Don't even option the Dialog.
and none of the settings are settings for formatting.
I fixed the newline issue; install 1.0.2 and it should stop happening.
https://github.com/SLaks/Rebracer/commit/16dbc1586d61f06a804bf93dde05469d07b05b97
As for the other two settings, are you sure you didn't change them? I can't think of any reason that they would toggle on their own.
I think the Squiggels* and OnlyUserTabOrEnterToCommit conflict with ReSharper Functionality, and R# changes them.
But these settings are not formatting settings and should not be in Rebrace.xml. These are UI Hints and Editing Behavior.
I currently store entire settings categories, since I prefer to not have giant hard-coded lists of settings names. I have a limited blacklist of properties that never work here; we could add UI-level settings as well.
Yes, i think a black list would be good.
@SLaks, I added settings to my GitHub extension and it was easier than I thought it would be. If you are willing to let Visual Studio handle the settings and have them show up in the Tools | Options dialog, then you could knock it off in an evening. I used Phil Haack's blog post as a guide.
If you want some help, let me know.
ShellSettingsManager.GetCollectionScopes("")
These options should not be stored within the Rebracer settings file.