【问题标题】:How to reformat all the documents of a folder in Visual Studio Code如何在 Visual Studio Code 中重新格式化文件夹的所有文档
【发布时间】:2018-01-30 04:50:04
【问题描述】:

我知道我可以使用快捷键 Alt+Shift+F 重新格式化单个文档(或者只需右键单击文档并单击格式化文档)

但我想一次对整个项目文件夹执行相同的操作。 我该怎么做?

我的项目是 Angular 框架中的 Typescript 文件。

【问题讨论】:

    标签: angular typescript format visual-studio-code reformat


    【解决方案1】:

    我该怎么做?

    使用 tsfmt :https://github.com/vvakame/typescript-formatter?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-12-12
      • 2017-05-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-16
      相关资源
      最近更新 更多