'Android Studio Search (Ctrl + Shift + F) doesn't search all occurrences of a string

Android Studio Search (Ctrl + Shift + F) doesn't search all occurrences of a string.

Why is this happening? I tried setting scope to "In Project", "Module", "Directory" and even custom scope.

I already have gone through this post and other such posts. Search all the occurrences of a string in the entire project in Android Studio



Solution 1:[1]

Could you try these steps below?

  • Is the file containing "searched" text is in a directory Marked as Excluded?
  • Is File Mask activated?
  • Is Regex filter activated?
  • Is Search Filter Popup searchs Anywhere?
  • Is the project indexed. Try to invalidate caches.

Hope, it helps.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 ocos