Android Studio
Go to the declaration
To go to the declaration in Android Studio, press Ctrl + B. On a Mac, press Cmd + B instead.
Where it works: Editor
Every documented variant
| System | Environment | Keys |
|---|---|---|
| Mac | Desktop app | CmdB |
| Windows | Desktop app | CtrlB |
Where this comes from
Keyboard shortcuts - Android Studio - Android Developers
Documentation checked on 2026-09-14. That is a documentation review, not a test run inside the application.