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

Add class for storing .editorconfig settings #29

Merged
merged 2 commits into from
Jan 8, 2017
Merged

Conversation

Mr0grog
Copy link
Owner

@Mr0grog Mr0grog commented Jan 7, 2017

We used to use a dictionary of strings, which meant parsing logic was distributed all over the codebase and applying the settings was kind of a pain. Now we have an object with reasonable types (integers, enums, booleans, etc) that encapsulates all the parsing logic and is easier to work with.

This also makes the binary 64-bit only, but TM2 itself is the same (and I am dropping TM1 support—see #28), so this should be fine. 64-bit is required for auto property synthesis in the new class.

This used to just be a dictionary of strings, which meant parsing logic was distributed all over the codebase and applying the settings was kind of a pain. Now we have an object with reasonable types (integers, enums, booleans, etc) that encapsulates all the parsing logic.

NOTE: this also makes the binary 64-bit only, but TM2 itself is the same (and I am dropping TM1 support), so this should be fine. (64-bit is required for auto property synthesis/)
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

Successfully merging this pull request may close these issues.

1 participant