Highly recommend to install: Blade Color
Unfortunately, Tabnine is recommended for now instead of the amazing Intelephense, as Intelephense doesn't support auto-complete for
Blade
blocks ({{ }}
) yet
Blade syntax highlight support for (in) PHP
.
Use with Language Mode:
PHP
, so othersPHP
exts should work (Intelephense,...etc)
Additionally, switch to Language Mode:
Blade
to highlight onlyBlade
(andPHP
inside of Blade) syntaxes
TBA
Todo:
- Add keyboard shortcut to switch between PHP and Blade Language Mode
- When #53885 #68647 is solved, we can:
- Enable/Disable the syntax in real-time, as well as a shortcut for it.
- Your ideas? (submit an github issue)
Blade
syntax highlight- More incoming <3
- Injected to PHP Language Mode!, just open any extension of
PHP
file - Switch language mode to
Blade
(Ctrl + K, M
or⌘ K, M
)- Will leaves only
Blade
and it's sub-PHP
codes to be highlighted, useful to debug/nav around large@blade methods
- Will leaves only
Files any issue(s) or mail me: trungdang6102@gmail.com.
- Blade language grammar is forked & picked from onecentlin
- Checkout her Blade&Laravel Snippets
- Additional credits:
MIT