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

Add Rebracer options page #3

Open SLaks opened 10 years ago

SLaks commented 10 years ago

These options should not be stored within the Rebracer settings file.

DerAlbertCom commented 10 years ago
SLaks commented 10 years ago

Why?

DerAlbertCom commented 10 years ago

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.

image

and none of the settings are settings for formatting.

SLaks commented 10 years ago

I fixed the newline issue; install 1.0.2 and it should stop happening.

https://github.com/SLaks/Rebracer/commit/16dbc1586d61f06a804bf93dde05469d07b05b97

SLaks commented 10 years ago

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.

DerAlbertCom commented 10 years ago

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.

SLaks commented 10 years ago

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.

DerAlbertCom commented 10 years ago

Yes, i think a black list would be good.

rprouse commented 9 years ago

@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.