keep single line block in JSON file

I asked last time how to keep single line in scss file, and got answer there is `keep single line block` option in CodeStyle.

I also want to keep single line in JSON file, but I couldn't find the option for it.
Is there a option for it?

2 comments
Comment actions Permalink

You could find this options here:

Settings -> Edito -> Code Style -> JSON -> "Wrapping and Braces" -> Objects

You could try "Wrap if long" or "Do not wrap"

0
Comment actions Permalink

Thanks! This is what I wanted! :D

0

Please sign in to leave a comment.