esformatter icon indicating copy to clipboard operation
esformatter copied to clipboard

Emacs integration

Open FrancisMurillo opened this issue 7 years ago • 2 comments

Emacs anyone? We got vi and atom so it intrigues me why this editor is missing.

FrancisMurillo avatar Jul 20 '16 09:07 FrancisMurillo

@FrancisMurillo after reading syl20bnr/spacemacs#2850, I tried writing an emacs command to do this.

https://github.com/jonboiser/esformatter.el

It's pretty basic. It has no error handling, and is not configurable. I really only know basic elisp, but if people are interested in this script, I'd be open to keep working on it and reach feature parity with the other editor integrations.

jonboiser avatar Jul 22 '16 02:07 jonboiser

@jonboiser, after searching around I came across jsfmt which uses esformatter under the hood. It works enough but I am not expert in it's configuration. Maybe an entry on the wiki might be nice.

Btw, awesome that you came up a package in such a short time.

FrancisMurillo avatar Jul 22 '16 03:07 FrancisMurillo