pretty format current file containing XML #1437

Closed
grandinj opened this Issue Oct 3, 2016 · 0 comments

Projects

None yet

1 participant

@grandinj
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: http://docs.wxwidgets.org/3.1/classwx_xml_document.html#a1c70d7dd152146d14fa50ee90e52908d

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