简体   繁体   中英

VSCode only search open files in a workspace ? [2020]

VSCode is suddenly only searching open files within a workspace. I'm using Remote ssh and Prettier and I have not changed any settings. Has anyone have any experience with this ? Ctrl+Shift+F does not seems to work.

In my case i finded the problem in the .gitignore. I open the vs code in main directory. This main directory has a script to download the back-end and the front-end and has too a file .gitignore for ignore the the back-end and the front-end in commits. Because this the VSCode only search open files in a workspace.

More details in https://github.com/microsoft/vscode/wiki/Search-Issues#missing-search-results .

我没有找到导致问题的原因,但我的解决方法是删除并重新创建工作区,或者只是打开文件夹。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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