IDEA的高频使用快捷键
使用提醒
-
请明确需求,再使用搜索
ctrl + f查找关键词 -
总结高频使用快捷键,持续更新中
-
Linux指令
-
IDEA
-
查看源码
-
类名搜索:
ctrl + shift + n -
查看接口的实现类:
ctrl + h -
点开接口的实现方法:
ctrl + alt + b -
调出surrond with:
ctrl + alt -
查找替换:
ctrl + r -
定位打开文件在目录位置:
alt + F1 + 1
-
-
分析
- 调出依赖图:
ctrl + alt +shift +u
- 调出依赖图:
-
常规操作
- 格式化代码:
ctrl + shift + enter - 向下插入空行:
ctrl + alt + enter - 向上插入空行:
shift + enter - 多行注释:选中行,
ctrl + / - 插入for循环:
fori + enter - 光标跳到行尾:
shift + 1 - 光标跳到行首:
shift + 7 - 复制整行:用
ctrl + c2次,或者shift + 1 -> shift + home -> ctrl + c - 提取常量:
ctrl + alt + c - 小写全部切换为大写:
ctrl + shift + u - 创建测试类| 重写方法 | 实现方法:
alt + insert - 重新加载,热部署:
ctrl + shift + F9
- 格式化代码:
-

浙公网安备 33010602011771号