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 453 forks source link

Langue MQL4/5: Integrate MQL4 as C-Syntax language #1500

Open JohannesFerner opened 7 years ago

JohannesFerner commented 7 years ago

Hi

MQL4 is the language MetaTrader4 Scripts are written. It's a derivate of C with some features added/removed.

Is there either a way to add custom file extensions to atom-beautify? Or can you add .mq4 to the C-Style languages?


.mq5 - MetaTrader5 works in a c++ style, this could also be added.

br.

prettydiff commented 7 years ago

Why don't you submit a pull request adding that file extension to the C lang beautification?

This is likely the file you will need to extend: https://github.com/Glavin001/atom-beautify/blob/master/src/languages/c.coffee and here is a guide explaining the instructions https://github.com/Glavin001/atom-beautify/blob/master/docs/add-languages-and-beautifiers.md

Please let us know if you get stuck or need any assistance.