1

I have been using Android Studio 4.2.1 on Mac for the past 2 months, and I have been NOT able to use the global search feature which is available by clicking the top-right magnifying glass icon. If I search for anything inside my project from there, I always get "Nothing Found" which makes the tool completely useless.

I have also tried to invalidate caches and restart but made no difference.

Any ideas why that's happening and how to make it work?

Zain
  • 37,492
  • 7
  • 60
  • 84
Fabrizio Ferrari
  • 869
  • 2
  • 12
  • 25
  • Is your project indexed or had problems? – Marcos Vasconcelos Aug 13 '21 at 15:01
  • Please try to [manually remove cache folders](https://stackoverflow.com/questions/33185130/remove-old-androidstudio-cache-folders-osx) – Zain Aug 13 '21 at 16:42
  • My project hasn't any problems and I see it being indexed if I make a clean-rebuilt or invalidate caches and restart. But the problem persists. I am unable to search anything inside my project, no matter what I search for. I can find only stuff outside my project. – Fabrizio Ferrari Aug 13 '21 at 19:47
  • To delete caches manually, I looked inside the /System/Library/Caches and ~/Library/Caches/ and couldn't find anything related to Android Studio. Ideas??!! – Fabrizio Ferrari Aug 13 '21 at 19:53
  • @FabrizioFerrari open "SDK Manager > Keymap" in Keymap top-right search box write find "find". In that look for "find in all files" and add one unique shortcut key. look here "https://i.stack.imgur.com/32Mnb.png" . Same way for "search everywhere" same action of magnifier. look here https://i.stack.imgur.com/xHepS.png – pratik vekariya Aug 19 '21 at 08:58
  • Uninstall. Then reinstall through "jetbrains toolbox". And shortcut for that feature is Shift+Shift – Jemshit Aug 20 '21 at 14:21
  • Thank you, guys. @pratikvekariya the "Find files..." works just fine for me! Thank you! The "search everywhere" still doesn't look inside my files for some reason. To jemshit Do you mean to uninstall the whole Android Studio? And if so, how would I install with "jetbrains toolbox" as you mentioned? – Fabrizio Ferrari Aug 21 '21 at 16:48
  • @FabrizioFerrari no no no, no need to uninstall android studio. See attached screenshot, just add one unique keyboard shortcut, it will be easy to use. – pratik vekariya Aug 23 '21 at 03:47

1 Answers1

0

Maybe you changed filter in settings(icon in the popup's top right corner): enter image description here

Also, make sure that "all" tab is selected in the left corner.

Anatolii Chub
  • 1,228
  • 1
  • 4
  • 14