[Haskell-cafe] GHCi 6.6 tab-completion of source file paths not working.

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Sun Nov 12 19:38:53 EST 2006


On Mon, 2006-11-13 at 12:02 +1300, Daniel McAllansmith wrote:
> Hi.
> 
> I've just installed GHC 6.6 on an amd64 running a gentoo linux distribution.
> 
> With GHCi from 6.4.2 I could run "ghci" then do
> 
> Prelude> :l Foo/Bar.hs
> 
> by hitting tab after Foo to complete the path to Bar.hs
> 
> This no longer works, hitting tab only shows what's in the pwd.
> 
> 
> If I run "ghci Foo/Bar.hs" then I can :r fine and I can do a :l Foo.Bar using 
> tab-completion to complete the module name.
> Tab completion of in-scope functions looks to be working fine.
> 
> Has anybody else experienced this problem?

The tab completion was changed in GHC 6.6 so that it can tab-complete
Haskell identifiers. It's quite possible that in the change-over that
tab completion for files got broken. I suggest you file a bug report and
describe exactly the behaviour that you would expect.

Duncan



More information about the Haskell-Cafe mailing list