Open sven-ahrens opened 5 months ago
I just want to add, that it does work on Visual Studio Code. No problems at all.
Maybe I'm missing something in PHPStorm, but that's what I could find for now
Same issue. Can't make it work.
@AsKode @sven-ahrens The docs will help you ;)
you need to add blade.php
as an extension to listen after.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
Version
1.14.1
Template before formatting
Template after formatting
Expected Behaviour
Beforehand, the command
npx prettier . --write
works perfectly fine. If I execute this command, it'll format the code just how I'd expect it.The problem is the PHPStorm
Reformat Code
function. It basically does nothing. Here is a video demonstrating my problem:https://github.com/shufo/prettier-plugin-blade/assets/18313443/d6e3db43-fde3-48de-a883-ef8ac7e1d2df
This is the end result, how it should look like:
This is my
.prettierrc
config:My specs:
Relevant log output
No response