No description
Find a file
2024-11-15 23:38:25 -10:00
src/Plugin Pass concrete hie file into addModuleToDb 2024-04-02 13:21:59 -04:00
.gitignore initial commit 2024-03-31 00:59:05 -04:00
CHANGELOG.md Prepare initial release 2024-04-02 18:03:38 -04:00
fourmolu.yaml Fourmolu typo fix 2024-04-02 15:40:48 -04:00
hiedb-plugin.cabal Prepare initial release 2024-04-02 18:03:38 -04:00
LICENSE initial commit 2024-03-31 00:59:05 -04:00
package.yaml Prepare initial release 2024-04-02 18:03:38 -04:00
README.md I like copy pasta 2024-10-23 14:44:19 -06:00

hiedb-plugin

A GHC plugin which automatically re-indexes recompiled hie files into an hiedb SQLite database.

To use this plugin:

  • add the hiedb-plugin package as a build dependency of your package

  • add ghc-options: -plugin-package hiedb-plugin -fplugin Plugin.HieDb to your package

Properties:

  • Requires -hiedir to be set.
  • Will index to .hiedb. Will likely be configurable in the futrue
  • Currently skips type indexing for performance reasons. Will likely be configurable in the future

Useful if you are using hiedb for code analysis or are using haskell tooling which makes direct use of hiedb such as: