[TxMt] YAML mode for XML editing

Alexy Khrabrov deliverable at gmail.com
Sun Nov 1 05:57:51 UTC 2009

While working with Maven, I've found a maven-yamlpom-plugin, which
allows to edit the pom.xml as pom.yml, by converting one to the other
and keeping them in sync.  The problem with the plugin is it's buggy
and rearranges lines, drops all comments, and can't sync when times
match, such as after a git pull.

While thinking about it, it occurred to me that what matters when
working with such hairy XML in YAML is that YAML is a human-readable
form of XML.  It's not really necessary to keep a pom.yml -- I only
edit it in TextMate anyways.  What's really needed is an XML *editing*
mode... in YAML!

Is it possible to have an XML mode where XML will be converted to YAML
upon loading, then dumped back as XML?


More information about the textmate mailing list