What is the shortcut in Android Studio to delete a line? And what is the shortcut to duplicate a line?
I found the answer in the documentation and I am posting it below for quick reference.
On your keyboard, press and hold the left or right Shift key and then press the End key to highlight the entire line. Press the Delete key to delete the line of text.
Note from comments: Shift + Delete cuts the current line.
If it's not working, check the Keymap settings:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With