zeleznypa opened a new issue, #4609: URL: https://github.com/apache/netbeans/issues/4609
### Description The [PSR-12 coding style](https://www.php-fig.org/psr/psr-12/) standard talk about empty line between „class-based use“, „function-based use“ and „constant-based use“ in this order. Unfortunately the Netbeans „fix imports“ functionality use different order and there is no possibility to add empty line between usage groups by auto-format. ### Use case/motivation When I write a code and use the shortcut for „fix imports“ (cmd + shift + i), I want to have usage code formatted by PSR-12 standard: Current result is: ```php use Vendor\Package\{ClassA as A, ClassB, ClassC as C}; use Vendor\Package\SomeNamespace\ClassD as D; use const Vendor\Package\{ConstantA, ConstantB, ConstantC}; use function Vendor\Package\{functionA, functionB, functionC}; ``` Expected format: ```php use Vendor\Package\{ClassA as A, ClassB, ClassC as C}; use Vendor\Package\SomeNamespace\ClassD as D; use function Vendor\Package\{functionA, functionB, functionC}; use const Vendor\Package\{ConstantA, ConstantB, ConstantC}; ``` ### Related issues _No response_ ### Are you willing to submit a pull request? No ### Code of Conduct Yes -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
