mac idea快捷键

作者: 涓涓自然卷 | 来源:发表于2020-06-10 13:36 被阅读0次
    • mac的option键对应windows的alt键、
    • mac的command键对应windows的control键

    1、option + commmand + F7 使用这个方法的地方
    2、option + F7 使用这个方法的地方
    3、tab/shift+tab 移动整体代码
    4、F12 查看网址的页面
    5、control+b 查看scala源码,在idea中使用
    6、control + p 查看参数类型
    7、control + option + v 快速返回
    8、control + option + b 鼠标放在方法上,跳到实现类
    9、control + option + o 优化import
    10、control + return 快速生成get、set、overwrite方法
    11、control + Shift + 9 重新编译、非mac版,不知好用不
    12、Shfit + command + n :搜文件
    13、双击shift : search everywhere全局查找文件包括jar包
    14、command + n : 搜类\快速生成get、set、toString等方法
    15、command + o : 搜索类
    16、Shfit + command + n :搜文件
    17、双击shift : search everywhere全局查找文件包括jar包
    18、当前文件查找:command + f
    19、全局文件查找:command + shift + f
    20、搜索文件: command + shift + n
    21、command + e :最近打开的文件
    22、command + c/x --> command + v : 光标停留在一行复制后 自动复制一行
    23、command + d :复制当前行并且粘贴到当前行的下一行
    24、command + x : 删除一行
    25、command + shift + z : 重做 一般文档中是command + y
    26、command + z : 撤销
    27、command + r : 当前文件检索替换
    28、command + shift + r : 当前文件检索替换
    29、command + option + b : 当前方法在哪里实现的
    30、单行注释: command + /
    31、快速注释: command + shift + /
    32、command + control + o:录屏、截屏、识别
    33、option + F7 : 查找当前方法被哪些类调用
    34、option + shift + 上下箭头 : 移动当前代码行
    35、option + return【回车】:导入包
    36、option + / : 显示提示,在设置keymap中自己设置的 keymap-Mainmemu-Code-Completion-Basic[双击更改]
    37、快速生成get、set、overwrite方法 :control + return
    38、优化import :control + option + o
    39、导入包 :option【alt】 + return【回车】
    40、command【control】 + control + l :格式化
    41、control + option + o :优化import
    42、option【alt】 + return【回车】:导入包
    43、command + option + v : 快速返回 --常用
    44、重命名:shift + f6
    45、shift + f6 : 所有用到的地方都会跟着修改
    46、5.fori + 回车 : 就会只能写出for循环
    47、array.fori + 回车 : 就会只能写出for循环
    48、list.fori + 回车 : 就会只能写出for循环
    49、sout + 回车 : 打印输出语句
    50、psvm + 回车 : main方法
    51、option + / : 智能提示
    52、command + 左/右箭头 : 跳到行首或者行末尾

    相关文章

      网友评论

        本文标题:mac idea快捷键

        本文链接:https://www.haomeiwen.com/subject/vlautktx.html