-
-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
Description
Feature description
Hello,
I noticed that with Scala's metals, the results of an evaluation show up as virtual text; on the other hand, haskell-tools puts them in comments.
Is it possible to have the option to use virtual text instead of comments for evaluation results? I simply think it's neater to not have the file changed when one's simply "probing variables and functions"
A possible problem I can foresee is that longer messages won't fit. A solution could be to place a code action over the evaluated line, which when triggered, shows the complete result.
Here's an image how it looks like for Scala. Note that I can't actually change the text on the right after // because it's virtual text.

Thanks, have a nice day :)
Reactions are currently unavailable