wz1000 / HieDb

Generates a references DB from .hie files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project is awesome

chrisdone opened this issue · comments

HLS is too heavy weight for me, it has too much riding on a successful launch, and there is a heavy maintenance burden (on behalf of the user) between releases. Even before I stopped maintaining Intero, I gave up on the server approach.

HIE files, however, are an elegant, cold, off-line, instant, solution to getting basic quality of life information from your editor (which in my case is Emacs).

I am using watchexec to re-index the HIE database upon changes to HIE files.

Then I wrote a 100 line Emacs lisp file to implement the following features using hiedb: type of thing at point, go to definition of thing at point, and show uses of thing at point. It just works.

Very simple tools, very lightweight, no memory used, no start up time, very low maintenance burden. Great for people who want a frugal language integration.

Once again, awesome package.

Thanks for creating this issue. I created https://github.com/agentultra/hiedb-mode to add hiedb support to my own emacs and would love to get your feedback. 🙏

You might also be interested in this hiedb based LSP service (not super well known) https://github.com/masaeedu/halfsp

Or static-ls (reddit post)