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

Support In-place Prettify #353

Open
reid-spencer opened this issue Mar 2, 2023 · 0 comments
Open

Support In-place Prettify #353

reid-spencer opened this issue Mar 2, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@reid-spencer
Copy link
Contributor

Allow individual files to be prettified. This requires the definitional context to be provided as a parameter. That is, a top level fill can be included with "Root" level parsing while a file included into a "Domain" needs that level of context in order to know how to parse it.

With that support, it then becomes possible to:

  • parse the input file correctly
  • validate it by providing the top level context artificial
  • write out a candidate replacement file
  • parse & validate that replacement file
  • remove the old file and rename the new files to have prettified a single file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant