IDEA的高频使用快捷键

使用提醒

  • 请明确需求,再使用搜索ctrl + f查找关键词

  • 总结高频使用快捷键,持续更新中

  1. Linux指令

  2. IDEA

    1. 查看源码

      • 类名搜索:ctrl + shift + n

      • 查看接口的实现类ctrl + h

      • 点开接口的实现方法ctrl + alt + b

      • 调出surrond with:ctrl + alt

      • 查找替换:ctrl + r

      • 定位打开文件在目录位置:alt + F1 + 1

    2. 分析

      • 调出依赖图:ctrl + alt +shift +u
    3. 常规操作

      • 格式化代码: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
posted @ 2020-09-24 20:47  米罗{mirror}  阅读(158)  评论(0编辑  收藏  举报