문제

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
}
도움이 되었습니까?

해결책

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

enter image description here

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top