On Sun, Oct 4, 2009 at 9:01 PM, Deniz Dogan <[email protected]> wrote: > > I recently started using Visual Studio for work (C# at the moment) and > found a nice little feature that could probably be implemented in Yi's > Haskell mode as well. The feature I'm talking about is "Remove unused > imports (and sort)". This does just what you think; it removes unused > imports and then sorts them. > > How difficult would this be to implement?
GHC has an option to output a trimmed import list. I guess it wouldn't be difficult to automate calling this, perhaps from cabal. Cheers, JP. --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list [email protected] http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---
