Delete the current line in Android Studio?
The CommandDelete can solve my final problem: I want to delete the line the cursor is on. And the cursor doesn't have to be at the end of the line you want to delete, it can be anywhere in the line.