- 快捷键对齐
Ctrl
+Alt
+F
- 设置保存后自动对齐
-
Ctrl
(Mac为Command
)+,
找到Setting页面 - 搜索
emmet.include
- 编辑Json,根节点下添加
-
"editor.formatOnType": true,
"editor.formatOnSave": true,
Ctrl
+Alt
+F
Ctrl
(Mac为Command
)+,
找到Setting页面emmet.include
"editor.formatOnType": true,
"editor.formatOnSave": true,