haskell / haskell/haskell-language-server

Goto References should find references for the current type

Open
#2,952 1 comment 0 reactions 0 assignees View on GitHub
status: in discussion type: enhancement
Dominant language
Haskell
Stars
3k
Forks
455
Avg merge
2d 19h
Merged PRs (30d)
11

Description

Essentially, help you find all occurrences for a polymorphic function of a given type. Example, maybe you want to find all occurrences of `(==) :: Foo -> Foo -> Foo`.
Currently, iirc, goto References will find all occurrences of `(==)` regardless of the type.

If I am not mistaken, such a query is currently not possible.

Afaict, it should be easily possible to implement this feature, but the Client UI might be a bit complicated.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.