Shortcut to select a line of code in Android Studio

前端 未结 5 1795
再見小時候
再見小時候 2021-02-19 05:59

Is there a short cut to select one line of code in android studio?

5条回答
  •  無奈伤痛
    2021-02-19 06:55

    There is Command + C that will copy the entire line. But if you are like me and you don't want to pollute your clipboard history with line selections, you can try this solution. (Command + Shift + V to view clipboard history)

    1. Go to Android Studio Preferences
    2. Go to Keymap
    3. Expand Editor Actions
    4. Scroll down to Select Line at Caret
    5. Assign any key command you want to it. I used Command + L, but it is up to you.

提交回复
热议问题