Reputation: 11156
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/
Upvotes: 67
Views: 40652
Reputation: 34391
Find method in current file
⌘ Command + F12
Find Symbols in Project
⌘ Command + ⌥ Option + O
Upvotes: 0
Reputation: 1689
Windows : CTRL + F12
Mac : cmd + F12
Upvotes: 156
Reputation: 725
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.
Upvotes: -1
Reputation: 1471
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
.
Upvotes: 30