pretty format current file containing XML #1437

grandinj opened this Issue Oct 3, 2016 · 0 comments


None yet

1 participant

grandinj commented Oct 3, 2016

discussion from IRC:

is there an XML formatter for Codelite?

noelgrandin: there is no XML formatter in CodeLite. At best, we could load the XML document into a wxXmlDoducment and call its "pretty printing" function: "Save" which only allows you to set the "indent size" see:

eranif1, ah, thanks. I source the "Source Code Formatter" thing and wondered if I was just missing a config setting somewhere to turn it on :-)

eranif1, but yeah, even that kind of pretty printing would be good enough (for my purposes). I see that unfortunately astyle does not pretty-print XML :-(

should be easy to add (event without settings) - can you please open a feature request?

@eranif eranif closed this in 7aff4f5 Oct 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment