jstoolnpp icon indicating copy to clipboard operation
jstoolnpp copied to clipboard

JSON style autoformat (JSFormat command)

Open MininAS opened this issue 2 years ago • 2 comments

A most part of JSON code which I can see in any resources has a bit difference with style if compared to the automatic formatting of this tool. For example: square brace after curly that means start of some iterate element(object) usually looks like curly breace put at new line -

[
{

instead [{ and between iterate elements

},
{

instead }, { Is it some kind of unspoken agreement? Which is style more preferred?

MininAS avatar Sep 04 '23 11:09 MininAS

Yes, already known this. But I hard to find time to enhance.

sunjw avatar Sep 06 '23 05:09 sunjw

So, let it be open issue, I hope you find time for in future :)

MininAS avatar Sep 06 '23 07:09 MininAS