Android Studio/Intellij Idea: “Table of Contents” for a class

I have been messing around with Android Studio and so far I like most of what I have seen. One thing that has been annoying me though is this lack of “Table of Contents” for a class. I apologize for not knowing exactly what to call it. But what I am referring to is the dropdown menu in eclipse that lists all the methods, interfaces, classes and so on that are in that class file. This then allows you to jump to that position. This view is when you are in “Package Explorer” and click the arrow to the left of the class. This is one thing that makes me really miss eclipse. I know that you can easily search with Ctrl+F inside a document but I often forget the method names. I tried looking through here but to no avail. Just wondering if anyone knows some way to handle this.

  • google play alpha and beta tester function
  • Can I have “adjustResize” soft keyboard behavior and a toolbar behind the status bar at the same time?
  • Removing title bar of android application
  • Is possible set Expanded Notification as default in Big Text Notifications?
  • Bitmap, Bitmap.recycle(), WeakReferences, and Garbage Collection
  • How to play ringtone/alarm sound in Android
  • Related posts:

    Listen to own application uninstall event on Android
    Android SDK gets NotRegistered error from GCM after a few hours
    JavaCard 3 in real world?
    CursorLoader usage without ContentProvider
    could not access the package manager. is the system running while installing android application
    NullPointerException addToRequestQueue(, java.lang.String)' on a ...
  • Spannable string with image not working with push notification
  • Android: how to disable controls during progress bar is active
  • Why so complex to set style from code in Android
  • How to show the copyright symbol in a Android dialog?
  • Using Android library in eclipse and jumping to class files instead of source file that is within eclipse workspace
  • Edittext in Listview android
  • 4 Solutions collect form web for “Android Studio/Intellij Idea: “Table of Contents” for a class”

    IDEA has a tab called “Structure”, which shows all the methods, fields, etc. of the currently-open class.

    IDEA window with Structure tab

    I’ve just got a Tip of the Day popup in Android Studio helping with exactly this problem.

    You can quickly navigate in the currently edited file with
    Ctrl/+F12 (Navigate | File Structure).

    It shows the list of members of the current class. Select an element you want to navigate to and press the Enter key or the F4 key. To easily locate an item in the
    list, just start typing its name.

    Also, as danny117 points out, you can use Alt/+7 to show / hide the same content in a side panel view (shown above in Chris Jester-Young’s answer).

    View > Tool Windows > Structure

    I’m currently using Beta 0.8.9 of the Android Studio and what you need to do is click on the settings icon in the Android Project View. If you select ‘Show Members’ then the Classes become expandable and you can navigate around the class using the project view.

    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.