【问题标题】:VS Code Prettier Format On Save stopped working with latest update Oct 2020VS Code Prettier Format On Save 停止使用 2020 年 10 月的最新更新
【发布时间】:2020-10-18 16:57:55
【问题描述】:

我的 VS Code 设置是

{
   "editor.formatOnSave": true,
}

以前可以,但是最近更新后就停止了。

【问题讨论】:

    标签: visual-studio-code prettier


    【解决方案1】:

    打开 VS Code 设置

    文件 -> 首选项 -> 设置(适用于 Windows)

    代码 -> 首选项 -> 设置(适用于 Mac)

    搜索“默认格式化程序”。在下拉列表中,prettier 将显示为 esbenp.prettier-vscode

    更多详情请查看link

    【讨论】:

      猜你喜欢
      • 2020-04-13
      • 2021-12-21
      • 1970-01-01
      • 2022-10-02
      • 2020-07-27
      • 2019-03-28
      • 1970-01-01
      • 2020-12-05
      • 1970-01-01
      相关资源
      最近更新 更多