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

[Change] Sort namespace alphabetically instead of lenght by default.

Open Yivan opened this issue 6 years ago • 2 comments

Hello,

Namespace are sorted by lenght by default. I really think it is more usefull to do it alphabeticaly, as it is more meaningfull to have namespace grouped. Is there any reason it is by lenght by default ? If not, maybe it could be changed to alphabetically by default.

I know there is a settings, but i will prevent to have to have to edit the configuration each time it is installed on some computers.

Thanks.

Yivan avatar Oct 19 '19 15:10 Yivan

hey, Yivan There is an extention called 'Setting Sync'. It will save your configurations, so you won't have to edit it each time when you work on different computers.

ʕ •ᴥ•ʔ : Hope it helps !

https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync

YNCBearz avatar Oct 25 '19 06:10 YNCBearz

@YNCBearz Thanks for your help. I was aware of it, but the issue here, is that as default value, it really must be alphabetical by defaut. I don't get the use to have them ordered by lenght for a developer !? For estetics ? : ) I mean having them alphabeticaly is really more helpfull for a developper to spot used namespaces in a glance. Any developper installing fresh vscode with this module will take advantage of this withotu getting in settings. I imagine this is just a small change to do in this plugin, and useful. Thanks!

Yivan avatar Oct 25 '19 11:10 Yivan