Find stopped working in one project and never shows resuls
I am using Webstorm 2021.2.2 on mac
I am using cmd + shift + F to find in path.
I write the text to find ( in whole project) and there are NO results.
When I use it in another project it works fine.
I have already tried invalidate caches to no avail.
Please sign in to leave a comment.
Hi there,
Please show how you Project View panel looks -- does it has the yellowish background on many/all files etc?
Do you have other unusual issues in this project?
Somehow the problem has resolved itself.
I am having the problem again and most of my files have a yellowish background.
@Mike Hollibaugh
Is it under VCS and you recently got the fresh code fetched from VCS?
Based on your description (yellowish background) it sounds that the IDE treats those files as "outside of the project". Could be due to the conflict (bad content) in .idea/modules.xml file (e.g. module points to another path/folder name due to sharing it via VCS) or some other kind of project config corruption.
Anyway:
Does it work correctly now? I suggest you compare content of the modules.xml with backup copy and see if it has any difference (that may tell/hint you what happened)
Thank you Andriy Bazanov!! Deleting the .idea in the root project folder helped me get my search back 🙌🏻