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 XML on save #1

Open
danyill opened this issue Aug 6, 2023 · 0 comments
Open

Pretty print XML on save #1

danyill opened this issue Aug 6, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@danyill
Copy link

danyill commented Aug 6, 2023

I'd like it very much if we pretty-printed the XML on save, in a similar manner to OpenSCD.

See: https://github.com/openscd/open-scd/blob/2706f82283cc7a58a8da5ca4cb775bfec7c6b986/src/menu/SaveProject.ts#L3C1-L14

I am constantly opening things from core plugins and then taking manual steps to format them and I think most SCL users would expect their documents to be formatted on save (albeit with some risk for Private/extension namespace elements).

@danyill danyill added the enhancement New feature or request label Aug 6, 2023
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