Shortcut to select a line of code in Android Studio

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

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

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-19 06:49

    Shift+Home or Shift+End will select all the text from the current caret position to the beginning or end of the current line. (Cmd+Shift+Left or Cmd+Shift+Right on mac). You can also triple-click on the required line to select it wholly. This can also be achieved by clicking on the line number.

    If you want to copy/cut an entire line then Ctrl+C or Ctrl+X after placing the caret on the required line will do.

    They have more useful shortcuts here.

提交回复
热议问题