Visual Studio: Sort the usings so that System stays at the top

By | Apr 14, 2018

I prefer to keep my System directives at the top. Unfortunately the default settings is to sort everything alphabetically. To keep your System directives at the top when sorting the using clauses you can enable the following setting.

It is found under Text Editor -> C# -> Advanced -> “Place ‘System’ directives first when sorting usings”

 

Leave a Reply

avatar

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
Notify of