federomero / pretty-json

Atom plugin. Format JSON documents.
MIT License
94 stars 23 forks source link

Feature request: Formatting style (avoid new line for each element in a vector) #80

Open Willtl opened 6 years ago

Willtl commented 6 years ago

Any change of getting something like this https://imgur.com/a/2WRwGZ7 instead of this https://imgur.com/a/87FPnCu?

I think that would be easy to provide a button for enable/disable new like for elements in a vector.

gliviu commented 5 years ago

I think formatting number lists in a single like is quite common so maybe this should be the default behavior. String and object vectors should probably be one per line. Anyway I think this would be a good addition to this already very nice package.