You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use it to dynamical update my Visual Studio project file and it works great. One think I think could be improved. After saving the project file the xml is all in one line. It does not be a problem, but in git and if you look at the file with a editor it is not very readable.
it is possible to implement a pretty printing parameter which adds new lines to the xml string when saving it?
Thanks
The text was updated successfully, but these errors were encountered:
I am not actively working on my Perl 6 modules at the moment, but I don't think it would be too difficult to add some form of pretty printing option when serializing. It's been a while since I looked at the code though, so I'm not sure exactly what it would entail. If I have a chance in the near future, I will take a look and see if I can add something.
I tried to alter save function in order to write in pretty print. Though I stumbled upon one challenge.
I see that when loading a file with indentations, the format is preserved when saving as another file. But if I add elements, these are not indented. I would prefer that when loading, all indentation would be discarded altogether, or at least have an option for doing so. Writing back to file with pretty print, would then be a bit easier i think.
Hi, first thank you for the module.
I use it to dynamical update my Visual Studio project file and it works great. One think I think could be improved. After saving the project file the xml is all in one line. It does not be a problem, but in git and if you look at the file with a editor it is not very readable.
it is possible to implement a pretty printing parameter which adds new lines to the xml string when saving it?
Thanks
The text was updated successfully, but these errors were encountered: