Open
Description
In order to prevent spam, I open a thread to discuss about the inlay hint usage in Haskell.
Previous info is here: #2019 (comment)
lsp-3.17 had supported inlay hint, in which can embed some useful info, it wildly used by displaying function parameter names in other languages. But it is not suitable in Haskell since Haskell have a lot of currying, which looks not valid to display parameter name in Haskell.
I don't want Haskell missing this straightforward function, so I wrote these to discuss what we can do to use inlay hint best, here are some I'd like:
- Show type signature for let expressions
f = let g {- inlay hint here, should be `:: Bool` -}= True
in g
- Show operator fixity as mentioned in Feature request: Fixity information in hover #2019 (comment)
All these are initial ideas for discussion, feel free to put forward any suggestions:)