Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'Find All' in Android Studio

New to Android Studio and I wanted to find all instances of something across all java files. I read that shift+shift would bring up a 'Search Everywhere' box but it doesn't work. You can see from the image below that the text is in the open class and it says 'Nothing Found'. Am I missing something?

Greg enter image description here

like image 364
user1091524 Avatar asked Mar 10 '15 00:03

user1091524


People also ask

How to search in all activity in Android Studio?

To search for a string/text in your Android Studio Project just double tap on the Shift key and a search window will appear that will allow you to search for the string occurrence in all the files anywhere in your project i.e. lets you search in projects, class files, as well as settings.

Where is the code in Android Studio?

Inline from the editor The Code Sample Browser in Android Studio helps you find Android code samples based on the currently highlighted symbol in your project. In your code, highlight a variable, type, or method. Right-click to display the context menu. From the context menu, select Find Sample Code.

How do I find the string code of an app?

ctrl+shift+f Show activity on this post. In Android Studio, On a Windows or Linux based machine use shortcut Ctrl + Shift + F to search any string in whole project. It's easy to remember considering Ctrl + F is used to search in the current file.

How do I get a list of folders in Android?

File myDirectory = new File("path to some directory"); File[] directories = myDirectory. listFiles(new FileFilter() { @Override public boolean accept(File pathname) { return pathname. isDirectory(); } });


1 Answers

Try using Ctrl + Shift + F.

You can also try Ctrl + Shift + R.

like image 99
user3451261 Avatar answered Oct 23 '22 18:10

user3451261