[Hackage] #548: Aid in function lookup in IDEs

Hackage trac at galois.com
Sat Apr 25 10:49:16 EDT 2009


#548: Aid in function lookup in IDEs
----------------------------+-----------------------------------------------
  Reporter:  guest          |        Owner:         
      Type:  enhancement    |       Status:  new    
  Priority:  normal         |    Milestone:         
 Component:  miscellaneous  |      Version:  1.6.0.1
  Severity:  normal         |   Resolution:         
  Keywords:                 |   Difficulty:  unknown
Ghcversion:                 |     Platform:         
----------------------------+-----------------------------------------------
Comment (by claus):

 To answer the `haskellmode` (for Vim) user: there is now support for both
 `Hoogle` and `Hayoo!` lookup, if you prefer that over local documentation.

 However, the `haskellmode` index, currently extracted from local `Haddock`
 documentation, provides `haskellmode` with the information needed for
 other features as well (adding imports, or qualifiers, insert-mode
 completion, ..), so a local index will always be needed.

 What has been discussed in the past is how such an index could be created
 once and for all, by `cabal`, without going via `Haddock`'s `doc-
 index.html` or `--hoogle` output (one should be able to get
 package/module/type/`:info` from a plain package installation, even
 without docs installed, and documentation urls could be added to such an
 index as and if documentation gets installed).

 Relevant tickets/threads:
  - [http://hackage.haskell.org/trac/hackage/ticket/516]
  - [http://hackage.haskell.org/trac/ghc/ticket/2168]
  - [http://hackage.haskell.org/trac/ghc/ticket/1572]
  - [http://code.google.com/p/ndmitchell/issues/detail?id=79]
  - [http://www.haskell.org/pipermail/haskell-cafe/2007-March/023150.html]
  - [http://www.haskell.org/pipermail/haskell-cafe/2007-March/023128.html]

 In addition to a local index for each installation, easy access to the
 complete `hackage` index (as a text file in a stable format) would also be
 useful.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/548#comment:3>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list