Is there a way to configure PHP Intelephense to format blade syntax?
When using PHP Intelephense by Ben Mewburn, it will not indent blade syntax, it remains:
@php
$test_var = "test";
@endphp
But is it possible to make it indent it?
@php
$test_var = "test";
@endphp
Ty!
I use a separate package to automatically indent my blade files on save: https://marketplace.visualstudio.com/items?itemName=shufo.vscode-blade-formatter. Works great but you might have to tweak some of the extension settings. Here's mine:
"[blade]": {
"editor.defaultFormatter": "shufo.vscode-blade-formatter",
"editor.formatOnSave": true
},
"blade.format.enable": true,
"bladeFormatter.format.wrapAttributes": "preserve-aligned",
"bladeFormatter.format.wrapLineLength": 9999,
@drehimself thank you! You are very familiar, I am pretty sure I saw a lot of tutorials with you???!
If you are the teacher of the tailwind course, who made the GitHub replica, you are great, really explain well, thank you!
Please or to participate in this conversation.