shufo / prettier-plugin-blade

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

[Bug]: After update to Prettier v3 VSCode stopped recognizing blade formatter #274

Closed martinpl closed 1 month ago

martinpl commented 3 months ago

Description

After package update to 1.14.1 & prettier 3.2.5 VSCode stopped recognizing blade formatter. Formatting on save stopped working

Expected Behavior

In v2 version I could format blade file on save or using command "Format Document".

Actual Behavior

Only one method of formatting works - "Format Document (Force)". Formatting on save don't work, "Format Docuemnt" returns "There is no formatter for 'blade' files installed."

Additional Context

Maybe related tasks https://github.com/prettier/prettier/issues/13729?

martinpl commented 3 months ago

Just to confirm, after downgrading all works fine: "@shufo/prettier-plugin-blade": "1.8.9", "prettier": "2.8.0",

shufo commented 3 months ago

Thank you @MartinPL I'll look into it.

github-actions[bot] commented 1 month ago

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