php-unparser icon indicating copy to clipboard operation
php-unparser copied to clipboard

Union with `prettier-php`

Open alexander-akait opened this issue 7 years ago • 4 comments

https://github.com/prettier/plugin-php :star:

alexander-akait avatar Feb 19 '18 15:02 alexander-akait

Hi, I'm not sure what this issue is about? You want to use php-unparser on your prettier plugin?

chris-l avatar Mar 01 '18 10:03 chris-l

@chris-l move best pretty practice in prettier-php :+1:

alexander-akait avatar Mar 01 '18 10:03 alexander-akait

I'm sorry, I'm not sure if I understand correctly. I'm guessing that by "pretty practice", you are referring to the pretty printer I created as demo. And you want to use that demo on your prettier-php repo. Is that correct?

By pretty printer demo, I mean this: https://chris-l.github.io/php-unparser/

Well, I'm only using glayzzle's php-parser and my php-unparser for that, so you can just import both php-parser and php-unparser to create a pretty printer.

chris-l avatar Mar 01 '18 10:03 chris-l

@chris-l yes, you have experience with some pretty output using php-parser (as link above), i am glad if you help us (prettier-php) to improve pretty print using you experience here.

alexander-akait avatar Mar 01 '18 10:03 alexander-akait