网站更新内容:请访问: https://bigdata.ministep.cn/

prettier/prettier-vscode FormatOnSave takes a long time 慢

prettier slow 

解决:

说清楚一点,这就是我所改变的

// tsconfig.json
{
  "compilerOptions": { ... },
  // edited this
  "exclude": ["node_modules", ".next"]
}
 

更新:上述步骤暂时缓解了这个问题。增加系统参数似乎是一个更好的选择。

参考:

[Slow · Issue #3044 · prettier/prettier-vscode](https://github.com/prettier/prettier-vscode/issues/3044)

[FormatOnSave 需要很长时间 · 问题 #1333 · prettier/prettier-vscode](https://github.com/prettier/prettier-vscode/issues/1333)

posted @ 2024-10-10 17:40  ministep88  阅读(31)  评论(0编辑  收藏  举报
网站更新内容:请访问:https://bigdata.ministep.cn/