Skip to content

Ability to include and customize "Trailing separators" #2

Open
@jordwalke

Description

@jordwalke

It would be great to have a few features for specifying if separators should be included in the "trailing" portion of the list.

A couple of options:

``Trailing_separator_never`

// Self explanatory

``Trailing_separator_always`

{key: x, key2: y,}        // If not having to break

{                                // If having to break
  key: x,
  key2: y,
}

And

``Trailing_separator_if_breaks`

{key: x, key2: y}           // If not having to break

{                                    // If having to break
  key: x,
  key2: y,
}

You mentioned that Trailing_separator_always could be accomplished via wrapping in an Atom. I will try to confirm that. But I'm not sure how I would accomplish Trailing_separator_if_breaks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions