haskell-language-server icon indicating copy to clipboard operation
haskell-language-server copied to clipboard

Inlay hints for types of holes in terms

Open Jashweii opened this issue 3 years ago • 2 comments

When you have a _ hole in a haskell program, it would be nice if HLS rendered the expected type I.e. if you could see ( _x :: Bool) similar to the type signature suggestions below. image This only really saves having to hover over the text to read the diagnostic. image I probably wouldn't want this in the situation where a type is already attached however (e.g. if I already wrote (_ :: Bool))

Jashweii avatar Sep 27 '22 17:09 Jashweii

This would be a good use for an inlay hint.

michaelpj avatar Sep 28 '22 13:09 michaelpj

Needs us to actually support inlay hints at all!

michaelpj avatar Oct 05 '22 11:10 michaelpj