Just run Format JSON
to set the language of the current
file to JSON and format the content in one step.
Also works in new Untitled (not saved) files.
Before I always did
Cmd + K
and then M
to complete the commandOption + Shift + F
to format the contentNow it is just Cmd + Shift + P
and then Format JSON
.