Skip to content

Conversation

rafal-c
Copy link
Contributor

@rafal-c rafal-c commented Aug 29, 2025

What does this change do?

This PR introduces a formatter flag force_multiline_arrays which makes all arrays printed as multi-line (one element per line), which may increase readability. In master, only large enough arrays are printed multi-line and there is no control over it.

This change is fully backwards compatible.

Is it related to an exisiting bug report or feature request?

No, as far as I know, this has not been requested yet.

Pre-merge checklist

  • I've read CONTRIBUTING.md
  • I've rebased my changes against the current HEAD of origin/master (if necessary)
  • I've added new test cases to verify my change
  • I've regenerated toml.hpp (how-to)
  • I've updated any affected documentation
  • I've rebuilt and run the tests with at least one of:
    • Clang 8 or higher
    • GCC 8 or higher
    • MSVC 19.20 (Visual Studio 2019) or higher
  • I've added my name to the list of contributors in README.md

@marzer
Copy link
Owner

marzer commented Aug 30, 2025

Looks good,, thanks :D

@marzer marzer merged commit e7aaccc into marzer:master Aug 30, 2025
11 checks passed
@rafal-c rafal-c deleted the feature/force_multiline_arrays branch August 30, 2025 08:36
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 this pull request may close these issues.

2 participants