Laravel Blade File Open as Blade Type in VSCode

Viewed 184

I'm wondering if it is possible to automatically set language mode to blade (currently HTML) whenever I open the blade.php file in VSCode? Because Laravel Blade Formater works fine with the blade language mode in VSCode.

I tried adding "files.associations": {"*.blade.php": "blade"} but its not working as what I expected.

Language mode: HTML, Formatter: Not working Example code snippet

Language mode: Blade, Formatter: Working Example code snippet

0 Answers
Related