J
J
Jsman2016-06-10 16:41:16
JSON
Jsman, 2016-06-10 16:41:16

How to put a line break after each comma?

I parsed the page and added all the value to json and transferred all this data to the ***.json file.
Json was saved in this format {key: value, key: value} I want to put json in order so that it looks like this:
{ key: value,
key: value
}
i.e. poluchaetsya that you need to do a line break after each comma. How can I do this in Sublime or other means?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2016-06-10
@SeniorDmitry

select the comma, press Ctrl+D until all commas are selected (Alt+F3 will select all at once), then right arrow, Enter).
Or a plugin like this might help

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question