简体   繁体   English

VSCode“查找全部”不查找所有文件,仅打开文件

[英]VSCode “Find All” not looking in all files, only open files

I am using VSCode for my Angular 8 project.我正在为我的 Angular 8 项目使用 VSCode。 When using " Find in Folder " (Ctrl+Shift+F) within VSCode to find all instances of a text, it's only looking in openned files.在 VSCode 中使用“在文件夹中查找(Ctrl+Shift+F)来查找文本的所有实例时,它只查找打开的文件。 Screenshot of the search搜索截图

I'am 100% sure my text is present in multiple files that are not open but nothing found by VSCode.我 100% 确定我的文本存在于多个未打开但 VSCode 找不到的文件中。

But " Find in Folder " is working for another Angular 8 project...但是“在文件夹中查找”正在为另一个 Angular 8 项目工作......

Any idea?任何想法?

I think I found the solution.我想我找到了解决方案。

Some of my folders and files were "controlled" (encrypted?) by my company.我的一些文件夹和文件由我的公司“控制”(加密?)。 A little briefcase appeared on folders and files icons.文件夹和文件图标上出现了一个小公文包。

I removed it using right click, "File property" and selecting "Personal" option (translation is approximative because my OS is in French).我使用右键单击“文件属性”并选择“个人”选项将其删除(翻译是近似的,因为我的操作系统是法语的)。

Hope it will help someone !希望它会帮助某人!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM