atom-alignment icon indicating copy to clipboard operation
atom-alignment copied to clipboard

Unable to change left/right behavior for default separators

Open dwelle opened this issue 10 years ago • 4 comments

Alignment of : operator is set to left by default. When you add : to the right separators list, it's still regarded as being left.

dwelle avatar Dec 10 '14 17:12 dwelle

@dwelle It seems to work for me. Just remember that it would need to be removed from the left separator default list by setting it to an empty space or something else (otherwise it uses the default value of the colon). Does that work for you?

blakeembrey avatar Dec 10 '14 19:12 blakeembrey

Ok, that is non-intuitive. I'd suggest making it work so that when you re-assign a default separator into a different group, it is removed from the original (default) group, implicitly.

At least to me it seems like a "hack", having to put something in the group from which you want to remove the default (Also, putting a space there didn't work - probably because you trim the separators)

dwelle avatar Dec 10 '14 22:12 dwelle

Yeah, agreed. It is a hack of the Atom settings pane. I don't do any trimming of separators so that could be the Atom UI. Not sure. Anyway, I'll see if I can come up with something like that to remove conflicting rules from default groups and also alerting when they actually conflict.

blakeembrey avatar Dec 11 '14 02:12 blakeembrey

Cool, thanks

dwelle avatar Dec 11 '14 09:12 dwelle