Peekmo / atom-autocomplete-php

Autocomplete for PHP in atom editor
MIT License
136 stars 34 forks source link

Sort namespace insertion by length if grouping is not used #369

Closed fuelingtheweb closed 10 months ago

fuelingtheweb commented 6 years ago

If a common namespace prefix is not found and the user does not want to insert new lines for additional groupings (Config setting: Insert newlines for use statements), then the use statement will be inserted based on character length to ensure the use statements are sorted properly instead of having a shorter use statement fall to the bottom.

poncianodiego commented 4 years ago

@Peekmo why not merge? :(