PHP-Namespace-Resolver icon indicating copy to clipboard operation
PHP-Namespace-Resolver copied to clipboard

Sort Non namespaced packages first

Open raygig opened this issue 3 years ago • 0 comments

Can you add the ability to sort the Non namespaced packages first Ie:

use stdClass; use Exception; use Backend\Dbo\FieldValueDbo; use Backend\Handler\FieldHandler; use Backend\Handler\FieldValueOptionHandler; use Backend\Manager\SystemManager; use Framework\Arry\Arry; use Framework\Core\Handler; use Framework\Core\Model; use Framework\Util\FileUtil; use Framework\Util\HtmlUtil; use Framework\Util\MiscUtil;

stdClass and Exception are in a null namespace which should be sorted first then apply your standard sorting.

The option could be called "Organize Global namespaces first"

raygig avatar Dec 16 '21 12:12 raygig