[Haskell-cafe] Useful IDE features - What abaut automatically adding import statements?

Neil Mitchell ndmitchell at gmail.com
Sun Jun 17 07:37:18 EDT 2007


Hi

It's one of the features I want to add to GuiHaskell
(http://www-users.cs.york.ac.uk/~ndm/guihaskell/). Once the main code
base is finished, things like this should be relatively easy.

Thanks

Neil


On 6/17/07, Marc Weber <marco-oweber at gmx.de> wrote:
> On Sun, Jun 17, 2007 at 10:58:04AM +0100, David House wrote:
> > Marc Weber writes:
> >  > Eclipse does have this which saves you a lot of time:
> >  > Fix imports.
> >
> > Could you describe the semantics of that more precisely?
>
> You get the error:
> Not in scope 'c'
>
> and the IDE should figure out automatically which used packages have
> modules exporting c.
> Then it should ask wether you want import one of those modules and add
> the module to the import list.
>
> Marc
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>


More information about the Haskell-Cafe mailing list