zoukankan      html  css  js  c++  java
  • PHPStorm IDE 快捷键(MAC)

    ⌘——Command
    
    ⌃ ——Control
    
    ⌥——Option/Alt
    
    ⇧——Shift
    
    ⇪——Caps Lock
    
    fn——功能键就是fn

    PHPStorm可以自己设置快捷键

    按住command + , 打开Preferences
    点击Keymap,右边出现下拉框
    点击下拉框选择你想要的快捷键设置

    编辑类

    command + c 复制
    command + v 粘贴
    command + shift + v 从剪贴板里选择粘贴
    command + x 剪切
    command + delete 删除当前行
    command + / 行注释/取消行注释
    command + option + / 块注释/取消块注释
    option + shift + ⬆️⬇️ 将当前行上移/下移一行
    tab 向后缩进
    shift + tab 向前缩进
    option + ⬆️⬇️ 向上/下选取代码块
    command + d 复制当前行
    command + z 撤销
    command + shift + z 取消撤销
    command + option + t 用if、for等包住代码块
    command + option + l 格式化代码
    command + shift + j 自动将下一行合并到当前行末尾
    shift + 回车 快速换行
    command + shift + u 大小写转换
    command + shift+ [] 文件选项卡快速切换
    control + tab 文件选项卡切换
    command + w 关闭当前文件选项卡
    alt + 单击 光标在多处定位
    alt + / 代码补全

    搜索类

    command + f 当前文件查找
    command + r 当前文件替换
    command + e 显示最近打开的文件记录列表
    command + o 根据输入的 类名 查找类文件
    command + l 在当前文件跳转到指定行处
    command + p 显示方法参数
    command + b/单击进入光标所在的方法/变量的接口或定义处
    command + +/- 展开/折叠代码
    command + 1 打开/关闭项目目录
    command + ⬅️➡️ 光标移到当前行首/末
    option + ⬅️➡️ 光标移到当前单词首/末
    option + f7 查找光标所在的方法 / 变量 / 类被调用的地方
    control + enter 代码自动生成, 如get/set等方法
    command + n 代码自动生成, 如get/set等方法
    command + option + v 快速添加变量
    command + option + ⬅️➡️ 退回到上/下一个操作的地方
  • 相关阅读:
    九月学习计划与自我成长
    sqlyog无法连接mysql8.0的处理办法
    MySQL详细的攻略和玩法
    输入net start mysql显示MySQL 服务正在启动 . MySQL 服务无法启动。 服务没有报告任何错误。 请键入 NET HELPMSG 3534 以获得更多的帮助。
    MySQL详细安装教程
    2019上半年程序设计年度总结
    PTA12
    C#实现文本文件字符过滤
    C#字符串string和内存流MemoryStream及比特数组byte[]
    C# 流总结
  • 原文地址:https://www.cnblogs.com/mzhaox/p/11230648.html
Copyright © 2011-2022 走看看