prettier / plugin-php

Prettier PHP Plugin
https://loilo.github.io/prettier-php-playground/
MIT License
1.75k stars 130 forks source link

Support for --range-start and --range-end #2404

Open wbaryla opened 1 month ago

wbaryla commented 1 month ago

Hello,

I’m trying to format only specific sections of files in a legacy codebase using the --range-start and --range-end options. This works fine with JS files but when using this plugin for PHP, prettier doesn’t apply any changes and essentially fails silently.

Is this a known issue? I would greatly appreciate any guidance on how to resolve this.