⌥—> option|alt
⇧—>shift
⌃—>control
⌘—>command
⎋—>esc
↑↓←→
alt+f7:find usage
alt+command+l:格式化**
alt+command+o:優化import(去掉無用的import)
command+o:override methods
command+i:implement methods
command+b:declaration檢視定義
alt+command+b:implementations檢視其實現
command+u:super method(class)
control+上下方向鍵:previous/next method
(shift+)f2:快遞定位並高亮錯誤(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:引數提示
command+y(x):刪除當前行(剪下當前行)
command+f11:新增/取消bookmark
shift+f11:顯示bookmark列表
command++/-:展開收縮**
shift+command+上下方向鍵:move line up/move line down
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
shift+f10:run
shift+f9:debug
command+f9:make project
shift+command+f9:make module
command+f2:關閉當前的執行的task
command+f8:新增/取消斷點
shift+command+f8:檢視所有斷點
debug:
f7:step into
f8:step over
shift+f8:step out
f9:resume
alt+f9:run to cursor
shift+f6:重新命名
command+f6:快速修改函式的引數,返回值或者類新增泛型等
f6:move快速的移動方法或者類
f5:copy快速的移動類
alt+command+c:提取constant變數
alt+command+v:提取variable(local變數)
alt+command+f:提取field變數
alt+command+m:提取method
control+左右方向鍵:tab切換
alt+f4:關閉當前tab
esc+command:切換當前的視窗
shift+esc:隱藏側欄
command+k:commit changes
shift+command+k:push commit changes
command+t:update project
command+,:android studio preferences
command+;:project structure
Android Studio Mac版快捷鍵
option alt shift control command esc alt f7 find usage alt command l 格式化 alt command o 優化import 去掉無用的import command o override methods command i imple...
Android Studio Mac版快捷鍵
alt f7 find usage alt command l 格式化 alt command o 優化import 去掉無用的import command o override methods command i implement methods command b declaration檢視定...
Android Studio Mac電腦常用快捷鍵
注意 mac電腦上cmd和ctrl兩個鍵和其它鍵的組合,會有不一樣的功能 前進 移動游標到歷史操作處 cmd 後退 移動游標到歷史操作處 cmd 格式化 cmd alt l 順序查詢 cmd g 查詢 替換 cmd r 刪除行 cmd delete 重寫介面或方法 cmd n 搜尋介面在哪兒被實現 ...