Some of the shortcut keys in Androidstudio

Source: Internet
Author: User

Here's the basic shortcut key, which will make our development fast.

/** *Log日志的输出打印  直接就是loge logm logr logt * 代码提示的快捷键 ctrl+alt+space * 代码上下行移动  ctrl_shift+上下键 * 复制当前的行代码到下一行快捷键是ctrl+D * 剪切ctrl+X  粘贴ctrl+V * 删除一行代码ctrl+Y * 类中的方法之间快速的移动alt+上下键光标会在方法之间移动 * 选中代码  连续按会出现不同的效果ctrl+W  再按住ctrl+shift+alt+上下键整段代码会 上下移动 * 打开一个类ctrl+N *打开一个文件 ctrl+shift+N * 查看一个变量的声明ctrl+B ctrl+单击鼠标的左键 * 查看一个类的父类是ctrl+U * 查看一个方法的调用ctrl+alt++h * 在类中查看一个方法的实现 ctrl+shift+I * 显示类的一个结构图ctrl+h *窗口的返回键在窗口之间不断的切换是alt+左右键 * 代码的 折行显示和展开ctrl+加号是展开  减号是缩进  但是光标需要定在当前段落的大括号出处 * 隐藏工程模板ctrl+加号+1  显示工程模板ctrl+减号+1 * 查找类中的方法和变量ctrl+shift+xlt+n * 显示当前文件的结构ctrl+f12 * 复写父类的 方法ctrl+o * 跳到大括号的开始结尾的大括号 ctrl+[or] * 选中一段代码  可以快速的添加代码块   比如说 if  foreach ctrl+alt+T * 提示快捷键ctrl+j * 查找控件的id   ctrl+j  fbc * 遍历集合   ctrl+j fori foreach * 土司 ctrl+j toast * */

Some of the shortcut keys in Androidstudio

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.