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

一笑奈何 提交于 2019-12-12 14:07:07

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/14556155/how-to-make-aptana-shows-laravel-statements-color-in-php-filessupport-laravel

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!