Mac Android Studio快捷鍵整理
為了提高工作效率,特地的整理了MAC 版 Android Studio 快捷鍵的整理,如果后續(xù)還有,在繼續(xù)補(bǔ)充!
⌥—> option|alt
⇧—>shift
⌃—>control
⌘—>command
⎋—>esc
↑↓←→
Code
alt+F7:Find usage
alt+command+L:格式化代碼
alt+control+O:優(yōu)化import(去掉無(wú)用的import)
command+O:Override Methods
command+I:Implement Methods
command+B:Declaration查看定義
alt+command+B:Implementations查看其實(shí)現(xiàn)
command+U:Super Method(Class)
control+上下方向鍵:Previous/Next Method
(shift+)F2:快遞定位并高亮錯(cuò)誤(deprecate,unused)
command+Z:Undo撤銷
shift+command+Z:Redo Typing
alt+enter:引入包,添加注釋…
control+enter:generate setter,getter…
shift+command+T:添加Test
command+W:Extend Selection
shift+command+W:Shrink Selection
command+P:參數(shù)提示
command+Y(X):刪除當(dāng)前行(剪切當(dāng)前行)
command+F11:添加/取消bookmark
shift+F11:顯示bookmark列表
command++/-:展開收縮代碼
shift+command+上下方向鍵:Move Line Up/Move Line Down
Search
command+F:Find
command+R:Replace
control+shift+F:Find in Path
control+shiftÏ+R:Replace in Path
alt+command+左右方向鍵:Back/Forward操作
command+E:Recent File
shift+command+E:Recently Change Files
shift+shift:Search Method或者Class (Search Everywhere:command+N,shift+command+N,shift+alt+command+N)
command+N:Search Class
shift+command+N:Search File
shift+alt+command+N:Search Symbol
Run/Debug
shift+F10:Run
shift+F9:Debug
command+F9:Make Project
shift+command+F9:Make Module
command+F2:關(guān)閉當(dāng)前的執(zhí)行的task
command+F8:添加/取消斷點(diǎn)
shift+command+F8:查看所有斷點(diǎn)
Debug:
F7:Step Into
F8:Step Over
shift+F8:Step out
F9:resume
alt+F9:Run to Cursor
Refactor
shift+F6:重命名
command+F6:快速修改函數(shù)的參數(shù),返回值或者類添加泛型等
F6:Move快速的移動(dòng)方法或者類
F5:Copy快速的移動(dòng)類
alt+command+C:提取Constant變量
alt+command+V:提取Variable(Local變量)
alt+command+F:提取Field變量
alt+command+M:提取Method
Window
control+左右方向鍵:tab切換
alt+F4:關(guān)閉當(dāng)前tab
esc+command:切換當(dāng)前的窗口
shift+esc:隱藏側(cè)欄
VCS
command+K:Commit Changes
shift+command+K:Push Commit Changes
command+T:Update Project
Setting
command+,:Android Studio Preferences
command+;:Project Structure
感謝閱讀,希望能幫助到大家,謝謝大家對(duì)本站的支持!
相關(guān)文章
iOS利用余弦函數(shù)實(shí)現(xiàn)卡片瀏覽工具
這篇文章主要為大家詳細(xì)介紹了iOS利用余弦函數(shù)實(shí)現(xiàn)卡片瀏覽工具,文中示例代碼介紹的非常詳細(xì),具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下2020-04-04iOS實(shí)現(xiàn)文字水平無(wú)間斷滾動(dòng)效果
這篇文章主要為大家詳細(xì)介紹了iOS實(shí)現(xiàn)文字水平無(wú)間斷滾動(dòng)效果,具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下2019-08-08iOS開發(fā)中UITableview控件的基本使用及性能優(yōu)化方法
這篇文章主要介紹了iOS開發(fā)中UITableview控件的基本使用及性能優(yōu)化方法,代碼基于傳統(tǒng)的Objective-C,需要的朋友可以參考下2015-12-12iOS實(shí)現(xiàn)相冊(cè)多選圖片上傳功能
這篇文章主要為大家詳細(xì)介紹了iOS實(shí)現(xiàn)相冊(cè)多選圖片上傳功能,具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下2017-08-08