Android Studio
Copy the element with refactoring
Press F5 to copy the element with refactoring in Android Studio. The keys are the same on a Mac.
Where it works: Refactoring
Every documented variant
| System | Environment | Keys |
|---|---|---|
| Mac | Desktop app | F5 |
| Windows | Desktop app | F5 |
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.