在Android Studio中选择一行代码的快捷方式 [英] Shortcut to select a line of code in Android Studio
问题描述
在Android Studio中是否可以选择一行代码?
Is there a short cut to select one line of code in android studio?
推荐答案
Shift + Home 或 Shift + End 将选择从当前插入符号位置到当前行的开头或结尾的所有文本. ( Cmd + Shift + 左或 Cmd + Shift + 右(在Mac上).您也可以在所需的行上三次单击以将其完全选中.也可以通过单击行号来实现.
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.
如果要复制/剪切整行,请在 Ctrl + C 或 Ctrl + X 之后将插入号放置在所需的行上即可.
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.
这篇关于在Android Studio中选择一行代码的快捷方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!