How to search method in a file in Android Studio

AndroidAndroid Studio

Android 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

[Find shortcuts]

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.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionCoDeView Question on Stackoverflow
Solution 1 - AndroidAndroCoderView Answer on Stackoverflow
Solution 2 - AndroidSuhasView Answer on Stackoverflow
Solution 3 - Androidtuoxie007View Answer on Stackoverflow
Solution 4 - AndroidyoAlex5View Answer on Stackoverflow
Solution 5 - AndroidMaduroView Answer on Stackoverflow