:mega: Help Wanted - Looking for Maintainer: https://github.com/Glavin001/atom-beautify/issues/2572 | :lipstick: Universal beautification package for Atom editor (:warning: Currently migrating to https://github.com/Unibeautify/ and have very limited bandwidth for Atom-Beautify Issues. Thank you for your patience and understanding :heart: )
When I try to beautify a kml file I get the error "Atom Beautify could not find a supported beautifier for this file". kml is Google's Keyhole Markup Language, which is an XML extension. As far as I know, the existing xml beautifier should work unchanged on kml.
Expected Results
Atom Beautifier should be able to beautify xml files that have different extensions, but are still valid xml
If you wanted to thoroughly fix this bug you would go to http://www.iana.org/assignments/media-types/media-types.xhtml and take all the mime types that end +xml and then open the related RFC files and get the matching extensions for those files, and add them to the list of extensions that are really xml files.
Description
When I try to beautify a kml file I get the error "Atom Beautify could not find a supported beautifier for this file". kml is Google's Keyhole Markup Language, which is an XML extension. As far as I know, the existing xml beautifier should work unchanged on kml.
Expected Results
Atom Beautifier should be able to beautify xml files that have different extensions, but are still valid xml
If you wanted to thoroughly fix this bug you would go to http://www.iana.org/assignments/media-types/media-types.xhtml and take all the mime types that end +xml and then open the related RFC files and get the matching extensions for those files, and add them to the list of extensions that are really xml files.
Actually someone already did this at http://data.okfn.org/data/core/media-types
So parsing their results I see that you would need to add: atom atomcat atomsvc ccxml davmount xdssc ink inkml lostxml mads mrcx mscml meta4 mets mods opf xer pls pskcxml rdf rif rld rl rs sbml shf smi smil grxml sru ssml tei teicorpus tfi xdp mpkg cdxml wbs uvt uvvt es3 et3 kml hal zmm irp lasxml lbe xul dd2 musicxml link66 sdkm sdkd xdm xsm uoml osfpvg zaz vxml wsdl wspolicy xdf xenc xhtml xht xop mxml xhvml xvml xvm yin dae x3d x3dz
You can see how I generated this list at: https://docs.google.com/spreadsheets/d/17GVaQtXXnJIYF033JZx17gytjPkva4WFFOd-gBCO3vU/edit?usp=sharing
Steps to Reproduce
Atom Beautify: Beautify Editor
Checklist
debug.md
Gist to this issue