-
Notifications
You must be signed in to change notification settings - Fork 76
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
Create sections using .editorconfig if present #79
Comments
@jayvdb can you please explain the issue in detail like you have done for difficulty/medium issues? |
@jayvdb I've created a custom One possible approach is: editorconfig_meta = {
"property_name": [list, of, bears, affected, by, the, property]
} and because every bear may use this setting differently, we'd have to write mapping logic to map the "property and its value" to the "bear's setting and its value". Example, the values of the property The problem with this approach is we will have to write a lot of mapping functions corresponding to combinations of "every property in .editorconfig and every bear that can utilize that property" and we'll have to maintain them indefinitely. One idea to reduce the mapping maybe to follow the ".editorconfig" like property styles in our bears' settings as well (like replacing |
That may be the case now, but ... we are standardising the names of settings, irrespective of the bears. |
Also, please analyse https://github.com/editorconfig/editorconfig-core-py , to see if it is not usable instead of a custom parser? (and custom writer for coala/coala#4098) |
I did analyze https://github.com/editorconfig/editorconfig-core-py , actually the way it works is not suitable for this issue. |
I suggest talking with that project, asking them if they are interested in more methods being added, to achieve what you need. (sounds like you have code which could be dropped in easily.) Then everyone benefits; most of all, coala benefits in having someone else maintaining the functionality we rely on. |
Imo this one is not |
Done with 5462996 |
http://editorconfig.org/
The text was updated successfully, but these errors were encountered: