IDEA mac与windows的快捷键区别

mac win 说明
command + c ctrl + c 复制
command + v ctrl + v 粘贴
command + x ctrl + x 删除选中行
command + shift + R ctrl + R 替换
command + shift + N ctrl + N 查找文件
command + shift + F ctrl + F 查找全部内容,注意快捷键冲突
command + shift + ↑↓ ctrl + shift + ↑↓ 上下移动代码
command + option + L ctrl + alt + L 格式化代码
option + enter alt + enter 导包
ctrl + H alt + H 显示当前类层次结构
shift + fn + F6 shift + F6 重命名
option + fn + F7 alt + F7 查找方法调用

get/set :alt+insert control+N
try/catch的快捷键 ctrl+alt+t command + option + T
查找实现一个类或者接口子类 ctrl + B父类或父方法定义ctrl + alt + B子类或子方法实现 command+B 和 command+option+B

将选中的代码提取为方法 ctrl+Alt+M command+option+M
返回上次查看的代码 ctrl+Alt+方向键 command+option+方向键

参考:
1、https://www.cr173.com/html/56164_all.html
2、https://blog.csdn.net/lisongjia123/article/details/54949364
3、https://blog.csdn.net/lxfgzm/article/details/81137249

未完待续

猜你喜欢

转载自blog.csdn.net/zimou5581/article/details/107489270