Search code examples
androidxcodeandroid-studioproject-navigator

Android Studio how to jump to method definitions using breadcrumbs like xCode?


I'm looking for a way to jump to a method definition within a .java file using Android Studio. I know that xCode has a breadcrumb path like in the image below which ends in the method and instance variables.

How can I jump to a method definition in Android Studio?

enter image description here


Solution

  • On the left-hand bar, you might have:

    • 1 - Project
    • 2 - Favourites
    • 7 - Structure

    What you want is "Structure" tab, which will show you a list of methods, variables etc. You can also right-click on it and customise, eg. to sort by visibility, alphabetically, which items to show etc.

    enter image description here