shufo / prettier-plugin-blade

Format your blade template using Prettier
https://www.npmjs.com/package/@shufo/prettier-plugin-blade
MIT License
318 stars 8 forks source link

[Bug]: Stopped formatting blade files, but still works on PHP and JS #197

Closed yabdab closed 1 year ago

yabdab commented 1 year ago

Description

Using the Nova editor from Panic (Mac) blade files have stopped formatting.

JS, CSS and PHP files still format great.

I have seen this before and it was eventually fixed, but not sure the cause now?

Maybe a new version of prettier causing the issue? Not sure.

Anyone else having issues in VScode or the like?

Expected Behavior

Format code and sort tailwindcss classes in .blade files

Actual Behavior

NOT formatting code and sort tailwindcss classes in .blade files

Additional Context

tailwindcss@3.3.2 prettier@2.8.8 @shufo/prettier-plugin-blade@1.8.12

Mac 13.3.1.(a) M1 Nova 10.6

yabdab commented 1 year ago

This appears to be a bug with the Prettier extension used in Nova.