Hi Jonathon!
I second Hong's thought that EditorConfig won't personally be adopting these options as official, but I think it still makes sense to discuss how they fit in with other options and whether they conform to typical EditorConfig conventions.
One difficulty I'm having in judging how the options feel is that you're doing a couple things we haven't done yet (hierarchical keys, multi-valued options, etc.). If others invent options that require similar needs in the future, it would be convenient if we could recommend a common convention for handling these cases.
So looking at the
Gist...
I'm pondering the `;` in INI values and the `.` notation for
making a hierarchy in INI keys.
I'm mostly curious about the thought that went into those
decisions because I haven't seen the EditorConfig format used in a
similar way yet.
What was the reason for choosing `;` over `,` or other separators?
Have you found pre-existing INI conventions for multi-valued INI
properties or did you need to invent a convention from scratch?
I haven't dealt with hierarchical INI keys before. Is `.` common
for INI hierarchies? Did you choose that format because it seemed
more variable-like (in many OOP languages at least)?
How will the options in the Code Style Options section work? Is
both `true`/`false` and another option provided in the same key?
How does that look? Is a `;` used?
Any other things I may have missed asking about?
-- Trey Hunner Technical Trainer, Teacher http://treyhunner.com
using System.Collections.Generic; using System.IO; using System.Threading; using System.Threading.Tasks; using StreamJsonRpc; using Microsoft.CodeAnalysis.Remote;
using Microsoft.CodeAnalysis.Remote;
using StreamJsonRpc;
using System.Collections.Generic; using System.IO; using System.Threading; using System.Threading.Tasks;
csharp_style_this_qualification_for_field = true;warningcsharp_style_this_qualification_for_field = false;warning
Hi Jonathon!
I second Hong's thought that EditorConfig won't personally be adopting these options as official, but I think it still makes sense to discuss how they fit in with other options and whether they conform to typical EditorConfig conventions.
One difficulty I'm having in judging how the options feel is that you're doing a couple things we haven't done yet (hierarchical keys, multi-valued options, etc.). If others invent options that require similar needs in the future, it would be convenient if we could recommend a common convention for handling these cases.
So looking at the Gist...
I'm pondering the `;` in INI values and the `.` notation for making a hierarchy in INI keys.
I'm mostly curious about the thought that went into those decisions because I haven't seen the EditorConfig format used in a similar way yet.
What was the reason for choosing `;` over `,` or other separators? Have you found pre-existing INI conventions for multi-valued INI properties or did you need to invent a convention from scratch?
I haven't dealt with hierarchical INI keys before. Is `.` common for INI hierarchies? Did you choose that format because it seemed more variable-like (in many OOP languages at least)?
How will the options in the Code Style Options section work? Is both `true`/`false` and another option provided in the same key? How does that look? Is a `;` used?Any other things I may have missed asking about?
On 11/02/2016 09:34 PM, Hong Xu wrote: