federomero / pretty-json

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

prettify on save doesn't respect preference #77

Closed jonathankoren closed 6 years ago

jonathankoren commented 6 years ago

Expected behavior: File is not prettified.

Actual behavior: File is prettified

Steps to reproduce: 1) Check "Prettify On Save JSON" from the pretty-json settings pane. 2) Uncheck "Prettify On Save JSON" from the pretty-json settings pane. 3) Open a json that file that is not prettified. 4) Edit the file. 5) Save the file. Observe that it is now prettified on both the screen and the disk.

Reproducable: 100%

lexicalunit commented 6 years ago

Did you find a fix @jonathankoren?

jonathankoren commented 6 years ago

I completely misdiagnosed it. It turned out it, that Nuclide was overriding the preferences, because language-json was installed.

Next time

On May 30, 2018, at 9:52 AM, Amy Troschinetz notifications@github.com wrote:

Did you find a fix @jonathankoren?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.