Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hovering over output in worksheet not working #71

Closed
barshirtcliff opened this issue May 9, 2022 · 3 comments · Fixed by #74
Closed

Hovering over output in worksheet not working #71

barshirtcliff opened this issue May 9, 2022 · 3 comments · Fixed by #74

Comments

@barshirtcliff
Copy link

barshirtcliff commented May 9, 2022

Describe the bug
According to this page I should be able to hover over the comment-output generated in a worksheet to see the complete output. This works in other editors, such as IntelliJ and Code. In emacs, however, nothing happens.

To Reproduce

create a worksheet named foo.worksheet.sc anywhere.
add a line:
val longString = "thisisalongstring" * 10
save the file.

Expected behavior
hovering over the comment should reveal the complete string. but nothing shows up.

Screenshots
Here's the test output. No new output appears in the *lsp-log* buffer during hover.
Screen Shot 2022-05-09 at 10 12 02 AM

@barshirtcliff
Copy link
Author

This is a more complete representation of a bug identified previously.

@kurnevsky
Copy link
Member

Try to hover over the string itself, not over commented part. Emacs doesn't support help messages over added overlays.

@kurnevsky
Copy link
Member

Actually it can be done using text property instead of overlay property.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants