Android Studio
Delete the line at the caret
In Android Studio, Ctrl + Y will delete the line at the caret. On a Mac, press Cmd + Delete instead.
Where it works: Editor
Every documented variant
| System | Environment | Keys |
|---|---|---|
| Mac | Desktop app | CmdDelete |
| Windows | Desktop app | CtrlY |
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.