📌  相关文章
📜  如何开始更漂亮的自动格式化 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:27.640000             🧑  作者: Mango

代码示例1
// for VScode follow these steps for custom workspace settings
// type 'code .vscode/settings.json' into the terminal and paste the below
// at the root of your project/workspace folder
{
  "editor.formatOnSave": true,
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "[javascript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  }
}