PHPstorm IDE 下载安装使用

一、下载公共测试的IDE

PhpStorm Early Access Program

设置主题,字体样式(字体号,大小,行距)

![clipboard.png

// 安装新字体
https://github.com/tonsky/Fir...

FiraCode,然后应用

最常用的快捷键:
Command + E 在最近操作过的文件中跳转
Command + 1 隐藏左侧文件栏
Command + shift + a 搜索影藏的 Tab ,可以开启
Command + shift + O 文件到文件的跳转
Command + f12 查看某个文件中的方法 (nav -> FileStructer) 搜索某个方法如:hasMany(),直接定位到该方法

Command + B 函数追踪,同command +单击
keymap 可以对快捷键进行自定义

二、常用快捷键

command + option + l 将代码格式化
command + shift + u 切换大小写
command + shift + + / command + shift + - 折叠/展开所有区块
command + e 列出最后打开的文件
control + tab / control + shift + tab 切换打开的文件
command + / 行注释
ctrl + shift + / 块注释
command + b 函数追踪,同command +单击
command + d 复制上一行到当前行
command + alt + 左右箭头 操作动作前进/回退
shift + command + r 按文件名搜索对应文件所在路径
shift + command + t 按类名搜索对应文件所在路径
shift + command + c 复制当前文件所在路径
Command + Shift + O 打开文件
Command + O 打开类
alt + F1 定位编辑文件所在位置:
alt + F12 打开命令行栏
command + shift + f 全局搜索

Windows 平台:
shift + control + F 全局搜索
control + F 文件里边搜索
按住ESC 退出编辑器搜索弹框

设置Live Template:
创建user组,然后创建 live template ,text
clipboard.png]

在模板调用方法:

ftext + tab 键 回车 =》快速调出模板

<!--- Title Field --->
<div class="form-group">
    {!! Form::label('title', 'Title:') !!}   // 此处和下行的title会自动填充
    {!! Form::text('title', null, ['class' => 'form-control']) !!}
</div>

有关搜索替换:

ctrl+f全文搜索
ctrl+shift+f 全站搜索
ctrl+r 全文搜索替换
ctrl+shift+r 全站搜索替换

option + command + L   代码格式化(代码排版美化)

相关文章:
PhpStorm常用快捷键图文详解

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值