如何使Aptana在.php文件中显示Laravel语句的颜色(支持Laravel)? [英] How to make Aptana shows Laravel statements color in .php files(support Laravel)?
问题描述
我的教程视频中的Sublime Text 2很好地显示了Laravel语句的颜色,Aptana中的相同代码只是白色(在* .php文件中),它将代码视为纯HTML文本,如何设置Aptana以显示颜色代码(支持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
除了< li></li>以外,所有上述代码均为白色.标签,那不是我想要的方式.
All above codes are white except <li></li> tags, that is not the way I want.
我不知道如何设置Aptana Studio 3,我需要帮助.
I don't know how to set Aptana Studio 3, I need help.
推荐答案
Sublime Text 2提供了Laravel Blade模板的软件包-这意味着它理解"了代码并可以正确地为其着色.
Sublime Text 2 provides a package for Laravel Blade templates - this means it 'understands' the code and can colour it correctly.
该选项在Aptana中不存在-因此您无法做到这一点.
This option does not exist in Aptana - so you cannot do it.
这篇关于如何使Aptana在.php文件中显示Laravel语句的颜色(支持Laravel)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!