Thanks @BenSmith. This helps me a lot!
@Smally You can get "Have you managed to get the blade highlighter to recognize {!! !!} yet?" working under Preferences -> Languages & Frameworks->PHP->Blade. Set "Content tags" to {!! and !!}
i love the ones about tests
Nice !!
Some times I feel as though I’m the only developer left in the world using TextMate.
I was using Editplus for the longest time until I watched JW's tut. It was worth changing over.
@martinbean I used to use TextMate, until SublimeText showed up and just had some killer features. I switched to SublimeText after @JeffreyWay suggested it in a TutsPlus series. Then later @JefferyWay suggested using PHPStorm (which I had already known about, but thought it too overwhelming for all it's features), and now after learning to use it little-by-little, I really like PHPStorm.
I just created all of BenSmith's Live Templates for anyone that wants them. I've sorted out each Category by file as well.
You can view them here: https://gist.github.com/HoLyCoWzOrZ/80852a2dc0ec3a9ab2ec Or you can download them directly here: https://gist.github.com/HoLyCoWzOrZ/80852a2dc0ec3a9ab2ec/download
Lastly, for anyone that hasn't noticed, but several of the Live Templates that BenSmith uses are already included in the newest version of PHPStorm, such as Bootstrap and JQuery CDN. I still included them here for completeness sake.
@HoLyCoW I am using PHPStorm 141-1224 which is the latest EAP build at the moment of writing but did not find the Bootstrap or jQuery CDN live templates you mentioned.
Can you tell me where you found them in the Live Templates section within the Preferences pane of PS?
Great stuff!
@ovvessem I just downloaded EAP and noticed that it's not there. So I looked in the settings, and I just realized that they come with the Boostrap 3 plugin.
they're listed as bs3-cdn:css and bs3-cdn:js separately, or bs3-cdn together.
thanks @HoLyCoW , really appreciate the gist you put together
Thank you very much @HoLyCoW. The thing is, how can I import those settings into PHPStorm?
EDIT: I found out a repository that explains how to install live templates for PHPStorm: https://github.com/fprochazka/phpstorm-livetemplates
thanks a lot!
These are some nice Laravel 5 specific Live Templates for PhpStorm https://github.com/koomai/phpstorm-laravel-live-templates
And some Bootstrap 3 WebStorm/PhpStorm Live Templates https://github.com/JasonMortonNZ/bootstrap3-phpstorm-plugin
Koomai version for Form Template for Laravel 4, just need copy the xml file and change {{ }} to {!! !!}
Thought I'd share this and this time on GitHub so it doesn't get deleted or lost, enjoy and use as you will.
I know I am late to the party, but wanted to share an updated version of the field live template that serves me well.
field
<!--- $VALUE$ Field --->
<div class="form-group $NAME$-field {{ $errors->has('$NAME$') ? ' has-error' : '' }}" id="$NAME$-field">
{!! Form::label('$NAME$', '$VALUE$:', ['class' => 'control-label']) !!}
{!! Form::$TYPE$('$NAME$', null, ['class' => 'form-control']) !!}
{!! $errors->first('$NAME$', '<p class="help-block error-msg">:message</p>') !!}
</div>
Awesome!
Please or to participate in this conversation.