-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Formatting Bug]: PHPStorm Reformat Code does nothing on blade files #287
Comments
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 ;) |
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 |
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 |
I had to invalidate phpstorm cache & restart it for it to work on a fresh plugin install. |
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:Bildschirmaufnahme.2024-06-26.um.16.10.13.mov
This is the end result, how it should look like:
This is my
.prettierrc
config:My specs:
Relevant log output
No response
The text was updated successfully, but these errors were encountered: