Skip to content
This repository has been archived by the owner on Mar 26, 2020. It is now read-only.

Configure indentation / pretty printing #17

Open
lehni opened this issue Oct 11, 2014 · 0 comments
Open

Configure indentation / pretty printing #17

lehni opened this issue Oct 11, 2014 · 0 comments

Comments

@lehni
Copy link

lehni commented Oct 11, 2014

It would be nice if there was a way to configure formatting in dump:

  • Wether to use a space after ':' and ','. At the moment, a space is always inserted.
  • Wether to break to new lines after each property, and reflect object nesting through indentation.
  • The amount of indentation per nested object scope. If this was an actual string, people could use it to insert two or four spaces, tabs, etc. Maybe it would be good then to check that the string contains nothing more than whitespace : )
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants