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

Output formatted toml #53

Open
ChristopherHaws opened this issue Jan 6, 2023 · 1 comment
Open

Output formatted toml #53

ChristopherHaws opened this issue Jan 6, 2023 · 1 comment
Labels
question Further information is requested

Comments

@ChristopherHaws
Copy link

Is it possible to output formatted toml? No matter what I seem to try, it outputs the entire model on one line and I have to format it using VS code. My model (and all of it's children) implement ITomlMetadataProvider and I am simply calling Toml.FromModel(model) with no options (none of the options seemed like they had anything to do with formatting).

@xoofx
Copy link
Owner

xoofx commented Jan 25, 2023

It is supposed to be formatted, all the tests in Tomlyn.Tests are relying on this, but it could be something else on your side that I can't tell. If you have a very small repro to test, that would help.

@xoofx xoofx added the question Further information is requested label Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants