android – Navigating labels in code?

Question:

In 1s there was such a feature, you press a combination of keys and a label is placed where the cursor is in the code, then you program another label and by pressing the key combination in the code you can navigate through these labels. Is there something similar in Android Studio?

Answer:

Menu Navigate -> Bookmarks :

or

  • F11 – check/uncheck.
  • Shift + F11 – display a list of labels and navigate to the desired one.
  • Ctrl + F11 – mark with mnemonic\unmark

There is also a transition to the previous / next label, but by default hot keys are not assigned to these actions (available only from the menu) – you can assign them yourself

Scroll to Top