Android Studio
Extract a field
Press Ctrl + Alt + F to extract a field in Android Studio. On a Mac, press Cmd + Option + F instead.
Where it works: Refactoring
Every documented variant
| System | Environment | Keys |
|---|---|---|
| Mac | Desktop app | CmdOptionF |
| Windows | Desktop app | CtrlAltF |
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.