Android Studio 常见命令

Posted 戴杭林

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Android Studio 常见命令相关的知识,希望对你有一定的参考价值。

                          android studio 常用命令

DescriptionMacLinux/Win
Lookup IDE commands Cmd+Shift+A Ctrl+Shift+A
Open Class Cmd+O Ctrl+O
Open File Cmd+Shift+O Ctrl+Shift+N
Open recently edited file Cmd+Shift+E Ctrl+Shift+E
Lookup Actions Cmd+Shift+A Ctrl+Shift+A
Open Symbol Cmd+Opt+O Alt+Shift+N
Open recently used file Cmd+E Ctrl+E
Last Edited Location Cmd+Shift+Backspace Ctrl+Shift+Backspace
Find Usage in persistent window Opt+F7 Alt+F7
Find Usage in floating window Cmd+Opt+F7 Ctrl+Alt+F7
Format the code with proper Indentation Cmd+Opt+L Ctrl+Alt+L
Surround With Opt+Cmd+T Alt+Ctrl+T
Open Terminal Opt+F12 Alt+F12
Generate Setter/Getters Cmd+N Alt+Ins
Find Class CMD+O Ctrl+N
Refactor/Rename Shift+F6 Shift+F6
Quick Fix Opt+Enter Alt+Enter
Goto Definition Cmd+B Ctrl+B
Show parameters for selected method Cmd+P Ctrl+P
Refactor This Ctrl+T Ctrl+Alt+Shift+T
Stop Process Cmd+F2 Ctrl+F2
Search Everywhere Shift+Shift Shift+Shift
Select Methods to Override Ctrl+O Ctrl+O
Delete Line Cmd+Backspace Ctrl+Y
Duplicate Line Cmd+D Ctrl+D
Grow/Shrink selection from cursor Opt+Up/Down Arrow key Shift+Ctrl+W
Multicursor Selection

以上是关于Android Studio 常见命令的主要内容,如果未能解决你的问题,请参考以下文章

请问,我的androi studio中动态申请权限,Manifest.permission.WRITE_EXTERNAL_STORAGE

Android Studio 发展史

Android Studio中的混淆

Android Studio git 结帐

Android Studio 看不到 Android 进程

Android Studio 项目无法与 Gradle 文件同步