Question

Is there a way to get an whitespace after the colon in a JSON object when autoformating in webstorm?

Actually I've got:

{
    key:value
}

What I want is

{
    key: value
}
Was it helpful?

Solution

In Intellij I go here, Webstorm might be the same...

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top