federomero / pretty-json

Atom plugin. Format JSON documents.
MIT License
93 stars 23 forks source link

Introduces selected vs positioned post-format behavior. #57

Closed lexicalunit closed 8 years ago

lexicalunit commented 8 years ago

When formatting a file on save, the cursor position shouldn't move too much and the entire file should not be selected after save. However, when manually issued, all format commands should select the JSON.

Resolves #56.