Android Studio 中选择一行代码的快捷方式 [英] Shortcut to select a line of code in Android Studio

查看:62
本文介绍了Android Studio 中选择一行代码的快捷方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

android studio 有没有选择一行代码的捷径?

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

推荐答案

Shift+HomeShift+End 将选择从当前插入符号位置到当前行的开头或结尾的所有文本.(Cmd+Shift+LeftCmd+Shift+Right 在 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+CCtrl+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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆