ctrl + shift + A
ctrl + shift + N 快速打开文件
CTRL +B查看源码
Live Template
第一步 CTRL+ shift +a 并在对话框中输入live template,其实输入live时就可以看到这个设置了。
第二部 打开live templates模板设置
代码内容
<!--- $VALUE$ Field --->
<div class="form-group">
{!! Form::label('$NAME$', '$VALUE$:') !!}
{!! Form::text('$NAME$', null, ['class' => 'form-control']) !!}
</div>
参见:
https://github.com/koomai/phpstorm-laravel-live-templates
https://www.laravist.com/discuss/phpstorm/phpstorm-live-template-82
多点编辑
本文介绍如何使用PHPStorm的Live Template功能提高开发效率,包括快捷键操作、自定义模板设置等技巧。
8万+

被折叠的 条评论
为什么被折叠?



