phpstorm常用快捷键

一、浏览和查找

1. command + 1 展开左侧 (alt + 1)

2. shift + shift 查找文件 (ctrl + shift + n)

3. alt + command + o 全局查找函数 (ctrl + alt + shift + n)

4. fn + command + f12 查找本文件所有函数

5. command + 7 显示类中的方法 (alt + 7)

6. command + 鼠标点击 函数追踪 command + alt + ← 返回 (ctrl + 鼠标点击 函数追踪 ctrl + alt + ← 返回)

7. command + b 跳到变量的声明处 (ctrl + b)

8. scroll top scroll bottom 设置快捷键 快速回到文件头部 和 尾部 fn + 向上箭头(向下箭头)翻页

二、编辑

1. /** + enter 头部参数说明

2. command + / 单行注释 (ctrl + /)

3. command + shift + / 多行注释 (ctrl + shift + /)

4. command + delete 删除当前行 (ctrl + delete)

5. command + d 复制当前行(ctrl + d)

6. shift + enter 快速换行

7. command +l 跳到指定行号 (ctrl + g)

8. fn + f2 查找飘红的语法错误

三、设置

1. command + , 显示设置

2. command + option +l 代码格式化 (ctrl + alt + l)

3. Editor → General → Appearance→show line numbers

4. 行号、字体、代码风格


前面是Mac键,后面括号内容是window键。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值