IntelliJ IDEA mac与windows中的快捷键

可以看出windows下的ctrl就是mac下的command,如windows下的删除ctrl+x,在mac下是command+x
mac下的option就是windows下的alt

总结如下:

替换:ctrl+R           control + shift + R
查找文件:ctrl+N    command + N
查找全部内容:ctrl+shift+F    control + shift + F              ====注意与拼音的快捷键的重叠
重命名:shift+F6          shift+F6

导入包:  alt+enter   option + enter
删除行 ctrl+X      command+X

重写父类方法 ctrl+O     command+O

get/set :alt+insert   control+N

try/catch的快捷键 ctrl+alt+t  command + option + T

格式化代码      ctrl+Alt+L  command+ option +L

整行代码向上/下移动 ctrl+Shift+箭头  command+Shift+箭头

撤回 ctrl+Z     command + Z

查找方法调用的地方 alt+F7  option+F7

查找实现一个类或者接口子类 ctrl + B父类或父方法定义ctrl + alt + B子类或子方法实现 command+B 和 command+option+B

将选中的代码提取为方法   ctrl+Alt+M      command+option+M  

返回上次查看的代码         ctrl+Alt+方向键     command+option+方向键

显示类的方法                                                command+7

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

 

 

 

  • 2
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值