Unused imports or dependant libaries

Help
2013-04-22
2013-04-22
  • Graham Berks
    Graham Berks
    2013-04-22

    Anyway to show unused imports in a module and any used dependancies in the cabal file ?

    Thanks

     
  • JP Moresmau
    JP Moresmau
    2013-04-22

    Unused imports show up as GHC warnings (but maybe depends on some flags, can't remember at the top of my head), usually, and you can go to source -> organize imports to clean up.
    Unused dependencies in the cabal file, no, not possible at the moment, would it would be a good thing. I'll add it to the todo.

     
  • Graham Berks
    Graham Berks
    2013-04-22

    Will have a look for the flags. Though the 'organize imports' is great - thanks