Skip to content

pretty format current file containing XML #1437

@grandinj

Description

@grandinj

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions