jsformat-atom icon indicating copy to clipboard operation
jsformat-atom copied to clipboard

Format selection not working.

Open arxpoetica opened this issue 9 years ago • 2 comments

When I have only a portion of the file selected, and run the formatter, it formats the whole file.

Example:

example

Here are my settings:

image

arxpoetica avatar Nov 05 '15 20:11 arxpoetica

@arxpoetica the code for that is on https://github.com/jdc0589/jsformat-atom/blob/master/lib/format.coffee#L75 and on https://github.com/jdc0589/jsformat-atom/blob/master/lib/format.coffee#L94. Maybe Atom's API has changed, see if you can play around and find out what's wrong now.

ilanbiala avatar Nov 05 '15 23:11 ilanbiala

I'm also seeing this issue.

tnrich avatar Apr 28 '16 06:04 tnrich