Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pretty print with indentation #207

Open
channingwalton opened this issue Aug 28, 2024 · 1 comment
Open

Pretty print with indentation #207

channingwalton opened this issue Aug 28, 2024 · 1 comment

Comments

@channingwalton
Copy link

channingwalton commented Aug 28, 2024

Thanks for this plugin - very useful.

Having an option to pretty print would be nice:

User(
  name = Joe,
  age = 18,
  address = Address(
    line1 = "…"
    …
  )
)

For large, deeply-nested case classes it would help readability.

@kubukoz
Copy link
Member

kubukoz commented Sep 2, 2024

On one hand I'd be inclined to at this, on the other hand we've historically avoided configuration to keep the implementation relatively simple...

maybe the option to replace toString implementations with a call to pprint would be enough?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants