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

查看:146
本文介绍了在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屋!

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