Webstorm格式化(分号结尾,双引号)

544 阅读1分钟

1,部分格式化

image.png

Ctrl + Alt + L

2, 整个文件格式化 Ctrl + Alt + Shift +L

3, 格式化时指定ts文件的代码样式,分号结尾,双引号

image.png