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

PrettyPrint add struct compact #447

Closed
trapalleiro-git opened this issue Apr 6, 2023 · 1 comment · Fixed by #448
Closed

PrettyPrint add struct compact #447

trapalleiro-git opened this issue Apr 6, 2023 · 1 comment · Fixed by #448

Comments

@trapalleiro-git
Copy link

Configures array of structs should be a single line for each struct. Thanks.

@juntyr
Copy link
Member

juntyr commented Apr 7, 2023

Ok, so far we have compact_arrays which ensures that there are no line breaks between elements, and separate_tuple_members which adds line breaks between tuple elements (perhaps this option should be renamed to the opposite compact_tuples to be more consistent).

You want to also add compact_structs which ensures that there are no line breaks between fields? If I understood you correctly @trapalleiro-git, this is definitely something I can have a look at in a few days.

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

Successfully merging a pull request may close this issue.

2 participants