jdavisclark / JsFormat

Javascript formatting for Sublime Text 2 & 3
1.42k stars 222 forks source link

Removing or Adding Trailing Commas #118

Closed alanjames1987 closed 10 years ago

alanjames1987 commented 10 years ago

Usually in JavaScript I like using trailing commas in arrays and object, but some browsers (older IEs) don't like it. I would like to be able to add and remove them a keyboard shortcut.

If this possible with JsFormat?

jdavisclark commented 10 years ago

I think non-whitespace modification of code is going to be out of scope for both JsFormat and js-beautify. Feel free to open an issue upstream at einars/js-beautify though.

alanjames1987 commented 10 years ago

Cool. Thanks for the quick reply.