Reputation: 10531
For example, for a simple file like this, it displays everything in one line:
{"315": "appear", "1529": "perVobj", "88": "JJR", "2212": "xM"}
I would like it to be displayed at multiple lines, like:
{
key:value,
key: value,
...
}
Upvotes: 1
Views: 7081
Reputation: 11651
go to File->Settings->Code Style->JSON
and set as per your needs.
Further, go to settings and create shortcut for reformat or use Ctrl+Shift+Alt+L(default) to reformat the file.
see this
Upvotes: 1