最佳答案
当我在Visual Studio code中保存文件时,我想使用内置格式化器自动格式化TypeScript代码。
我知道下面的选项,但没有一个足够好:
Shift + Alt + F
"editor.formatOnType": true
上格式化
"beautify.onSave": true