I saw in the change logs that PHP Tools has support Laravel Blade since 1.44.14925. I am using 1.44.14997, but it seems that my .blade.php files are still treated as plain PHP files, and the template syntax is not highlighted, though the PHP syntax inside them gets Intellisense.
.blade.php
What should I do to enable the Blade support? I cannot find options related to blade in vscode preferences. I also tried switching to the pre-release version but it still doesn't work.
Thank you for the question.
Currently, this is the initial blade support we have
@php
<?php
Upcoming:
JakubMisek Hello! Could you see the screenshot I attached? The blade tags (e.g. @foreach ... @endforeach) are not colorized.
@foreach
@endforeach
This depends on your Color Theme.
Currently, tags (@foreach,@php, ...) have the same color as PHP opening tags (<?php) which is defined by your selected Color Theme.
We can change the color though if it doesn't work for you.
JakubMisek Oh... that makes sense. Thank you!
Balthild Would you prefer a different color? We are thinking about the same color as used for keywords.
JakubMisek Yes, that would be great to use the same color as the keywords.
DavidM Implemented. New colors will be in the next update. Thanks!