Inlay Synthetics #576
Replies: 1 comment 1 reply
-
Good question @TimWSpence. So Metals does actually support this, but early on Neovim didn't unless you put the result at the end of the line. When playing around with this it resulted in some really confusing behavior at times because if you had some code like: val result = List(1, 2, 3).map(_.toDouble).map(_.toString) And you tried to show the inferred types you could end up with Screen.Recording.2023-05-22.at.23.08.58.movSo, right now it's not really supported, but in the future it totally could be. |
Beta Was this translation helpful? Give feedback.
-
I've got synthetics (inferred type, implicits, etc) working in LSP hover but was wondering if there is a way to display them as inlay? (I think that's the term. I've attached a picture of what I get with Rust which is the kind of thing I was thinking of)
Beta Was this translation helpful? Give feedback.
All reactions