gpt4 book ai didi

visual-studio-code - 无法跳转到资源管理器中的 node_modules 文件的文件位置

转载 作者:行者123 更新时间:2023-12-03 07:56:33 25 4
gpt4 key购买 nike

如果我在普通项目源中打开一个文件,我可以在编辑器中按 Ctrl+Shift+E,以便该文件集中在“资源管理器”部分中。这不适用于node_modules。我尚未将 node_modules 添加到 files.exclude 中,因此该文件夹显示在资源管理器中,但未观察到上述行为。有没有办法跳转到node_modules内的文件?

最佳答案

CtrlShiftE 不会显示文件,它仅聚焦于默认情况下打开的文件处于事件状态的资源管理器 View 。因此,这不适用于当前在资源管理器中不可见的文件。

您需要在资源管理器 View 中显示命令。默认情况下它没有键绑定(bind)。您可以在选项卡上下文菜单或命令面板中找到

enter image description here


编辑:它是 search.exclude 选项控制此

Configure glob patterns for excluding files and folders in fulltext searches and quick open. Inherits all glob patterns from the #files.exclude# setting.

关于visual-studio-code - 无法跳转到资源管理器中的 node_modules 文件的文件位置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/75907980/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com