Hello Haskell community,
I’d like to introduce a new VS Code extension I’ve been working on that implements the go-to (non-local) definition command for Haskell code.
It is not related to HLS in any way (a separate extension, a separate Haskell backend). It aims to fill the gap in HLS until the feature is implemented there.
This extension’s memory usage should be low (~150 MiB of RAM) during most workloads. When you save a Haskell file in your editor, the extension re-evaluates its cache and the memory usage will spike, but this should happen for a few seconds.
I hope this allows the use of the extension along the HLS on low-memory machines.
Also, the extension works in environments where HLS does not work for me, such as base
package or repos where there’s no *.cabal
project in the root (where there’s only a cabal.project
in the root).
This is a pet project. I chose it to improve my Haskell skills. I’m looking for feedback, code reviews, and suggestions that could improve the extension (and my Haskell skills).
Link to the repo: github.com/kr3v/haskell-gtd-nl.
Installation instructions are in the README.md. I hope it works out of box for you