1. 设置路径
Windows:File -> Settings -> Editor -> Code Style -> Javascript
Mac:Preferences -> Editor -> Code Style -> Javascript
2. 切换到Punctuation标签下
切换到Punctuation标签下3. 设置
Don't use[不使用] semicolon[分号] to terminate statement in new code
Use single quotes[单引号] in new code
网友评论