Android Studio 經常使用快捷鍵

#怎麼設置快捷鍵java

經過setting-keymap到快捷鍵設置界面
能夠設置總體快捷鍵的風格 好比 eclipse 或者eclipse (Mac OS) 或者搜索如下關鍵詞直接找到想要修改的快捷鍵位置eclipse

##生成java bean的相關方法this

關鍵詞:Generate
方式一:Code-->Generate 方式二:經過快捷鍵Alt+Insertcode

##eclipse的ctrl+2+Lorm

關鍵詞: refactor this 方式一:setting-keymap-refactor this本身設置快捷鍵
方式二:經過快捷鍵Alt+Ctrl+Shift+T接口

##if else/try catch/while/runnable的完整提示ip

關鍵詞:surround with
方式一:Code-->surround with 方式二:經過快捷鍵Alt+Shift+Z.或者Ctrl+Alt+Tit

##Reformat code 格式化代碼form

關鍵詞:surround with
方式一:Code-->Reformat code 方式二:經過快捷鍵Ctrl+Shift+F.或者Ctrl+Alt+Lcli

##實現接口

關鍵詞:implement Methods 方式一:Code-->implement Methods 方式二:經過快捷鍵enter+alt.或者Ctrl+Alt+L 或者alt shift P

相關文章
相關標籤/搜索