Reputation: 2735
I am working inside a large legacy project that has a rich file structure. I know the name of the file I need to edit. But I don't remember where it is in the tree! In XCode I would use the filter in the project file view. But there doesn't seem to be something like that in Android Studio. What do I do?
Upvotes: 3
Views: 3449
Reputation: 2735
I thought of how to deal with this - using the Find in Path search (Shift+Ctrl+F or Shift+Cmd+F) search for "class ". Since file names correspond to class names in Java and Kotlin, you will get the file that contains the class definition in your list of results. If there are many classes that start with the same prefix, you can check the "Words" checkbox at the top of the Find in Path dialog.
Upvotes: 0
Reputation: 1580
You can simply press the Shift twice and enter the filename
.
Shift + Ctrl + F or Shift + Cmd + F are usually used for searching for a specific word inside a scope be it the Directory, Module or the entire Project.
Upvotes: 6