【问题标题】:Filter out *.spec.ts files in the VSCode Explorer? [duplicate]在 VSCode Explorer 中过滤掉 *.spec.ts 文件? [复制]
【发布时间】:2020-06-18 05:42:43
【问题描述】:

是否可以通过 UI 暂时过滤掉 VSCode 资源管理器中的 *.spec.ts 文件?

【问题讨论】:

  • 是的 - 我想我正在寻找排除扩展名。
  • 试过了还是不行……

标签: javascript typescript visual-studio-code


【解决方案1】:

您可以修改您的工作区设置(ctrl+shift+p 并搜索workspace settings,然后在工作区设置中搜索exclude)并添加

"files.exclude": {
  "**/*.spec.ts": true,
}

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-07-17
    • 2011-01-21
    • 2013-12-13
    • 2012-11-19
    • 2021-09-30
    • 1970-01-01
    • 1970-01-01
    • 2015-03-28
    相关资源
    最近更新 更多