How to search method in a file in Android Studio
AndroidAndroid StudioAndroid Problem Overview
In Eclipse there is the command Ctrl+O to search a method in a file. What is shortcut for the same command in Android Studio?
Found these solution more better:
http://mussharapp.blogspot.in/2013/07/android-studio-keyboard-shortcut.html
http://www.techrepublic.com/article/four-handy-android-studio-shortcuts-for-eclipse-users/
Android Solutions
Solution 1 - Android
Windows : CTRL + F12
Mac : cmd + F12
- And type the name it will show the list.
Solution 2 - Android
You can search by method name or symbol name using CTRL + ALT + SHIFT + N on Windows & OPTION + CMD + O on Mac. This will search throughout the project.
Additionally, you can use CTRL + F12 on Windows and CMD + Fn + F12 on Mac to search in the current class.
Check http://developer.android.com/sdk/installing/studio-tips.html for more shortcuts.
Also, you can edit shortcuts in Preferences -> Keymap
.
Solution 3 - Android
Press Opt + Cmd + O to search symbols on Mac.
Solution 4 - Android
Find method in current file
⌘ Command + F12
Find Symbols in Project
⌘ Command + ⌥ Option + O
Solution 5 - Android
Android Studio 1.4.0 on Mac
Some one said that cmd + f12
on Mac would do the job, but it didn't work. However, press COMMAND + N
-> GENERATE
-> click on Override Method
EDIT
NOTE: If cmd + f12
works for you and some people, fine, very good. BUT, if it doesn't work for others, like me, then try my solution. It is a real and working solution.