Closed S1U closed 8 years ago
Same here, it works if the file is saved with .json extension, I couldn't make it work with a just blank sheet (not saved file)
@i0sdev Just find out a way, select all the text and hit Ctrl+Shift+P then type "pretty" and choose Pretty Json: Prettify
and it works
tried cmd+shift+p, a list popped out and hit any of Pretty Json
, but not work, nothing changed :(
mac yosemite, atom
This plugin does not work on OSX EL Capitan following the provided instructions.
Doesn't work on OS X 10.11 in my experience either. -- Edit: Actually got it to work. The issue was a stray comma in the JSON text. This caused JSON.parse(text)
to throw an exception. This exception isn't surfaced to the user in any way though so there's no way to tell what went wrong.
The README is Officially the worst documentation i have come across. finally figuring it out and it doesn't even work
downloaded and installed in Atom.
In a new json file, selected the whole flat codes, and hit Package > Pretty JSON > Prettify, but nothing changed...
What's the right method?