Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make Aptana shows Laravel statements color in .php files(support Laravel)?

Sublime Text 2 in my tutorial video shows Laravel statement color well, the same code in my Aptana is just white(in a *.php file), it treats the code as plain HTML text, how can I set Aptana to show code with color(support Laravel)?

@layout('master')
@section('main')
    @foreach($users as $user)
        {{$user->email}}
    @endforeach
@endsection
@section('nav')
    <li>Details</li>
    @parent
@endsection

All above codes are white except <li></li> tags, that is not the way I want.

I don't know how to set Aptana Studio 3, I need help.

like image 617
Kai Avatar asked Nov 28 '25 02:11

Kai


1 Answers

Sublime Text 2 provides a package for Laravel Blade templates - this means it 'understands' the code and can colour it correctly.

This option does not exist in Aptana - so you cannot do it.

like image 151
Laurence Avatar answered Nov 30 '25 17:11

Laurence



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!