Glavin001 / atom-beautify

: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: )
http://unibeautify.com/
MIT License
1.5k stars 454 forks source link

Support for ds files #1460

Open massimosiani opened 7 years ago

massimosiani commented 7 years ago

Description

Demandware scripts (.ds files) are not currently supported. It is pretty easy to support them, as the expected format is the same as javascript files.

prettydiff commented 7 years ago

If you attempt to beautify DS files in Atom Beautify after changing the grammar (Edit -> Select Grammar from the main menu) do they beautify correctly in all supported beautifiers for JS?

massimosiani commented 7 years ago

Hi, sorry for the late response. Yes, they are correctly beautified. I'm using the atom plugin for demandware files (https://atom.io/packages/language-demandware) and it auto detects the grammar, so it would be nice to link the beautifier to the ds files too.

Moreover, I also beautify .isml files as html files.

prettydiff commented 7 years ago

This can be supported by Atom Beautify. You would need to create a pull request adding support for these two file extensions and grammar types. Here is the getting started documentation - https://github.com/Glavin001/atom-beautify/blob/master/docs/add-languages-and-beautifiers.md

Please let us know any questions you have.