This is the first PHP extension I've seen in VS Code flexible enough with PHP formatting to meet the backend coding standards for a project I'm on which uses PSR-12 and some custom rules. Thanks for all the hard work!

I do have some additional features I'd love to see. Here's one for the wrapping rules:

  • Print Width setting for wrapping lines that get too long similar to Prettier
    Original:

    Example printWidth = 60
    This would add two new options to each wrap rule:

    • on_items_exceeding_print_width - Only wraps items beyond the print width
    • on_each_item_if_exceeding_print_width - Wraps each item if beyond the print width on one line

    Thank you so much for your kind words.

    This indeed makes sense and wrapping length is on our todo list. I'll increase the priority for this one.

    Thanks!

    5 months later
    6 months later

    Hello, have you made any progress on this one? Being able to use such features is a contributing factor for purchasing a license. Cheers

      11 days later

      Hello Vaclav,

      Thank you for the question. Not yet, this feature is still pending...

      Thank you for the patience.

        Write a Reply...