Would be cool to have an eclipse like organize imports

Mar 30, 2010 at 8:20 PM

Currently, visual studio provides built-in functionality to remove & sort usings (which this add-on use).  When I moved from using eclipse to visual studio, one of the things that I missed the most was Organize Imports (CTRL+Shift+O).  This feature would go through any un-resolved type references in the code and examine at each of them.  If there was only a single possible library/namespace that defines it, it would be added automatically to the usings statements.  If it was an ambiguous reference (provided by more than one namespace/library) it would give you a dialog that would show a list and allow you to select one.


Jan 29, 2011 at 12:13 AM

Not sure that this falls under "Code Formatting" which was the purpose of this addin.  I'll give some thought into making another addin to do that.