Skip to content

格式化

保存格式化

https://linuxpip.org/vscode-format-on-save/

.vscode/settings.json
{
    "editor.formatOnSave": true,
    "editor.defaultFormatter": "esbenp.prettier-vscode"
}