Sort usings by ascending when optimize imports



When using the optimize imports (ctrl + alt + o), this calls the Optimize 'using' directives. As stated on 

Optimize 'using' directives 
Removes unused namespace import directives and sorts the namespace import directives: all System.
namespaces go first, sorted alphabetically by the second word after the dot;
all other namespaces go next, in alphabetical order

How do I change the settings so all System namespaces do NOT go first, but instead are sorted alphabetically??

1 comment


Unfortunately, sorting all using directives alphabetically (including System) is not supported at the moment. Please vote for the corresponding feature request in Rider issue tracker:


Please sign in to leave a comment.