flix
flix copied to clipboard
Inlay hint for the parameter I am typing
IntelliJ can give hints about the name and type of the parameter that I am typing. We get these a little with autocomplete, but with higher-order functions and long signatures, it can be hard to read. It would be nice to have either an inlay hint or some other popup that shows only the name and type of the parameter I am working with.
Example? I can think of several things you could have in mind.
(Also not sure we can provide it).
For example, I always forget the order of parameters in List.foldLeft
's function
If it would pop up with something like:
(x, y) ||> List.foldLeft($)
^ [f: (in, out) -> out]
// ( $ is the cursor)
it would be very handy IMO
Ah yes, but that is way beyond what we can support currently. Right? :)
IDEA is like next level with these things.
Cant support this.