赞
踩
总结mac版本 IntelliJ IDEA - 版本2022.1.2 常用快捷键,提升效率杠杠滴。
单式
command + c 复制
command + v 粘贴
command + x 剪切
command + z 撤销
command + shift + z 反撤销
command + s 保存
command + a 全选
command + j 提示代码模版
command + d 复制指定行的代码
command + backspace 删除一行
command + p 方法的形参列表提醒
command + i 实现接口的方法
command + o 全局查找等价于按两下shift
command + l 跳转到某行代码
command + f 查找指定结构
command + r 查找与替换
command + ← 光标移动到行首
command + → 光标移动到行尾
command + / 单行注释
option + enter 智能提示
option + ←/→ 光标向左/向右移动一个
ctrl + enter 调出生成getter/setter/构造器等结构
ctrl + o 重写父类的方法
ctrl + h 查看继承树结构
shift + enter 切换到下一行代码空位
shift + tab 选中行整体往前移动
tab 选中行整体往后移动
组合
command + option + t 使用xx块环绕
command + option + v 自动生成返回值变量
command + option + enter 切换到上一行代码空位
command + option + m 抽取代码重构方法
command + option + u 类的UML关系图
command + option + b 回溯代码方法来源
command + option + l 格式化代码
command + option + ← 光标前一次位置
command + option + → 光标后一次位置
command + shift + ↑ 向上移动代码
command + shift + ↓ 向下移动代码
command + shift + + 折叠方法实现
command + shift + - 展开方法实现
command + shift + f 全局搜索
command + shift + u 选中代码大小写转换
command + shift + / 多行注释
欢迎评论补充,更多常用快捷键。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。