Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

jagged_little_phil's avatar

VSCode - Emmet Shortcuts VS Blade Prettification - Can I have Both?

I am using VSCode and can't seem to find a way within the settings.json file to allow me to use both emmet and blade templates together.

Here's my settings

If my "files.associations" contains "*.blade.php": "blade" - then my blade formatter works. So if I paste in some code and press "save" then it reformats and prettifies my file.

But, if type "div" and press tab, VSCode tries to create Icon elements instead of divs with the classes that I add to them.

To fix this, I have to comment out the "*.blade.php": "blade" file association, and instead add "blade": "html" to my "emmet.includeLanguages".

This allows my Emmet commands to work, but breaks my autoformat - prettifier - in Blade.

Is there someway to have both of these work at the same time without breaking each other?

0 likes
0 replies

Please or to participate in this conversation.