Sort "usings" directive by ReSharper Clean-up

szkra picture szkra · Nov 9, 2011 · Viewed 25.2k times · Source

How to setup ReSharper to call "Sort usings" in class?

Answer

szkra picture szkra · Sep 11, 2012

I will answer for my question.

Using shortcut from Resharper it's not best solution. Nice tool is CodeMaid it makes few nice cleanup's when saving file like with no shortcut key press:

  • sorting usings alphabetically and remove unused
  • deleting empty lines

This tool is complement for Resharper.