Sublime Forum

Javascript Formatter

#21

I can definitely look in to doing this.

I’m putting this in the bug tracker on the github project page, check it out here: https://github.com/jdc0589/JsFormat/issues/8 and leave me some feedback if you want. When I get this done I will update this post as I have been doing for other features requests and bug fixes.

0 Likes

#22

UPDATE
When JsFormat is run on an entire buffer/file (not a selection) it makes sure the file always ends with a newline

0 Likes

#23

Update:
JsBeautifier has been updated to the latest version

0 Likes

#24

A couple updates, forgot about this thread. github.com/jdc0589/JsFormat

  • JsFormat now intelligently remembers where you had the text cursor prior to formatting and puts it back in the same spot, accounting for white-space changes, after formatting.

  • There are a few new configuration options (end file with newline)

  • Other stuff im forgetting

0 Likes