禁用文件调光 /灰色& vscode中不在工作区中的文件夹?

发布于 2025-01-28 13:13:46 字数 381 浏览 4 评论 0原文

我们目前正在运行a meta repo,这导致Vscode相信文件&文件夹不在我们的工作空间中,即使它们实际上也是如此。因此,我正在尝试确定如何阻止VScode对文件进行调整&不在工作空间中的文件夹,例如node_modules在下面的屏幕截图中:

谢谢!

We are currently running a meta repo, which is causing VSCode to believe that files & folders are not in our workspace, even though they actually are. Due to this, I am trying to determine how I can stop VSCode from dimming out files & folders which are not in the workspace, such as node_modules in the screenshot below:

VSCode explorer

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

赠佳期 2025-02-04 13:13:46

.gitignore文件中的文件或文件夹将被昏暗。除了禁用通用设置外,我还没有找到一种方法来避免使用特定的SCM或GIT设置:

Explorer>装饰:颜色

,但是您也会失去修改后的文件的改变的颜色,这可能是可以接受的。

我认为git&gt>装饰:启用设置可能会影响这种变暗的颜色,但似乎并没有。

Files or folders in your .gitignore file will get dimmed out. I haven't found a way to avoid that with a specific SCM or git setting other than to disable the generic setting:

Explorer > Decorations: Colors

but then you will lose the altered colors of modified files too for example, which might be acceptable.

I would think the Git > Decorations: Enabled setting might affect that dimmed-out color but it doesn't seem to.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文