Haskell-language-server: Go to references

Created on 20 Jul 2020  路  2Comments  路  Source: haskell/haskell-language-server

Hi,

It looks like HLS currently doesn't support "Go to References" family of features, am I correct?

Basically this allows one to find places where a particular piece of code (function/type) is used.

What do you think about adding this feature?

Cheers

ghcide blocked upstream enhancement

Most helpful comment

Hi!

Indeed, hls does not support this feature yet.
There is a WIP branch of ghcide to support it: https://github.com/wz1000/ghcide/tree/hiedb-2
It uses HIE files and a sqlite database.
I use this branch as a daily driver but it still has some bugs.

Maybe @wz1000 can tell us how we can help to get this feature :)

All 2 comments

Hi!

Indeed, hls does not support this feature yet.
There is a WIP branch of ghcide to support it: https://github.com/wz1000/ghcide/tree/hiedb-2
It uses HIE files and a sqlite database.
I use this branch as a daily driver but it still has some bugs.

Maybe @wz1000 can tell us how we can help to get this feature :)

There is a open pr to add hie-db to ghcide, it should add this feature.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

expipiplus1 picture expipiplus1  路  3Comments

Sir4ur0n picture Sir4ur0n  路  4Comments

jinl0ng picture jinl0ng  路  3Comments

wminshew picture wminshew  路  3Comments

fendor picture fendor  路  3Comments