【问题标题】:Files starts with dot, don't show in VS Code文件以点开头,不在 VS Code 中显示
【发布时间】:2019-07-01 12:33:18
【问题描述】:

我创建了文件 .babelrc 和 .gitignore,但它们没有显示在 VS Code 项目资源管理器中。如何禁用此隐藏? Image of my Side Bar

【问题讨论】:

标签: visual-studio-code vscode-settings


【解决方案1】:

打开设置 --> files.exclude

添加模式:*/.?

【讨论】:

    【解决方案2】:
    1. 进入设置(Mac:cmd + ,)(Windows:ctrl + ,)。
    2. 搜索files.exclude
    3. 确保没有任何 glob 模式与资源管理器中缺少的文件相匹配。

    【讨论】:

    • 谢谢,我不小心添加了**.*模式。
    • @jabacchetta,我在我的 VS 代码中遇到了这个问题。如果你有时间,你能帮我解决这个问题吗stackoverflow.com/questions/60665824/…
    猜你喜欢
    • 1970-01-01
    • 2023-01-11
    • 2022-01-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-08-04
    • 1970-01-01
    相关资源
    最近更新 更多