F
F
Flerttaro2021-05-02 21:25:12
JSON
Flerttaro, 2021-05-02 21:25:12

How to set code formatting in *.json so that long lines go to the next line in WebStrom?

I really like the vertical bar in WebStrom and today I had to work with large lines inside the json file (I used to do this in vscode, it is automatically formatted there), and as a result, the problem is: when writing a large line, it continues and then it is not convenient to view what there is, as you need to twist the horizontal scroll.
When you try to move to another line, the IDE takes it as a command to add a new field - which is correct in the json format.
I tried to find such a setting, but the only thing I found was how to remove the vertical stripe, which does not suit me, because I like the stripe.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question