How to use Advanced (CamelCase) search in Android studio (APG-9)
Rajesh Hadiya
Helps you to master Android & Spring Boot ?? Aaye hain to thoda content dekh ke jaiye ?? Join our next Android meetup (pinned post ??)
When working on Android project, search tool is definitely something you've used. What if, however, you have a class or file with a really long name?
For instances, you could have following classes in your project
class ThisIsLongClassName {
class ThisIsAnotherLongClassName {}
class ThisIsYetAnotherClassName {}
class ThisIsFinallyPerfectName {}}
If you want to search for ThisIsAnotherLongClassName, you must enter the complete name of the class, or at least the name that matches the pattern (for instance, ThisIs.. even that could provide result containing multiple classes). What if there was a better option?
Meet CamelCase searching
You can type in CamelCase to search across Classes, Files, Symbols, Actions and Git. In other words, simply type the initial letter of each word.
Now, to search for ThisIsAnotherLongClassName,?
1. Press double shift (Shift+Shift)
2. In the search box, enter TIALCN
3. The search result will include the desired class
We also have an android developer community on WhatsApp where we enjoy learning and sharing everything android, including live sessions, interview preparation, job referral, tutorials, and Q&A. Join us if you're interested.
https://bit.ly/adc-whatsapp-02?(Join this if the first group is full)
Senior Android Dev @Buckling Springs
2 年People say my typing is fast but i used this technique for a long time and thank you for sharing this with other people even if you have slow typing speed this helps a lot even with function names also i think