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

相关文章
相关标签/搜索