Explore inlay hints for REPL results#1594
Explore inlay hints for REPL results#1594orestis wants to merge 1 commit intoBetterThanTomorrow:devfrom
Conversation
|
Perhaps the inlay hints API could be useful for something else, but it seems to be very narrowly oriented towards type hints. I couldn't get the tooltip to show up, neither the command to execute, as both seem to be related to a position in the code that actually has a symbol. |
|
I used this as a guide since the API is very sparsely documented. |
|
Thanks for providing this! Even if it turns out to be a dead end, it can save others from entering. 😄 The other use for this that I am thinking about, is to place a button after the current form and current top level form that evaluates the respective form. Maybe that's not possible either for the same reasons? |
|
I couldn’t get the commands executed. Perhaps I used the wrong syntax though, not sure. To try things out just eval things and if the hints don’t show up immediately then scroll a bit or go to a different file and back again. (The lack of control for making hints show up is another factor against using this for interactive stuff) |
|
An addendum: The hovers didn't show up because I have turned off hovers 🤦 It'd be interesting if someone with a more standard VScode setup could try this branch. |
|
Oh wow I'd love to implement all the above and make it configurable or something !!! In general yes, more "vscode-native"-ish and GUI-integrated the commands are, the better imo |



What has Changed?