Android Studio delete line and duplicate line shortcuts

前端 未结 1 1041
陌清茗
陌清茗 2021-02-02 05:33

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 b

相关标签:
1条回答
  • 2021-02-02 06:19

    Linux/Windows

    • Control + D : Duplicate current line or selection
    • Control + Y : Delete current line

    Mac

    • Command + D : Duplicate current line or selection
    • Command + Delete : Delete current line

    See also

    • Android Studio Keyboard Shortcuts documentation
    • Android Studio Shortcuts You Need the Most

    If it's not working, check the Keymap settings:

    0 讨论(0)
提交回复
热议问题