Closed rprouse closed 9 years ago
I currently auto-add all settings within a category. This allows it to automatically pick up new settings (which is especially relevant as Roslyn adds new formatting settings), and allows you to easily persist other settings categories simply by adding an empty element to the XML.
I think the better solution to you root issue is to add those settings to the exclusion list (https://github.com/SLaks/Rebracer/blob/master/Rebracer/Utilities/KnownSettings.cs#L48). Can you send a PR with the properties you want to exclude?
I will see what I can do. The list might be long though. I don't want to see anything that is not formatting related in the file. I don't feel I have the right to dictate the other settings to other developers.
Thanks!
I published v1.2 to the gallery.
I found a few more - see attached zip of a diff report between your ReBracer.xml and the one my VS2015 + R# generated. I will try to arrange a PR. I will also try to look into tabs and spaces as per my gist at https://gist.github.com/CADbloke/6206b1d4084a88473689
"Try"
html diff report ReBracerExtras.zip
Scenario 1
Expected: Rebracer.xml is not changed Actual: Rebracer.xml is populated with all the settings it supports.
Scenario 2
Expected: Rebracer.xml is not changed Actual: Rebracer.xml is populated with all the settings it supports.
Why this is a problem
Many of the options that Rebracer adds are not formatting related, but have to do with the behavior of Intellisense, Outlining, etc. Changing settings like this will just annoy other developers on the team. I might like my files to open with outlining collapsed, but other people might prefer it otherwise. I should not be dictating those options to other developers.