-
Notifications
You must be signed in to change notification settings - Fork 201
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
For long hover text, content is cut and not useful #117
Comments
#111 attempts to deal with this: hovering only shows the first line, and to view the full documentation you can use |
I'm aware of the problem, but unfortunately don't have time to analyze fully. I don't remember the bc reason for pruning the last part the string anymore, and this is why I'm weary of merging #111 |
@lynlevenick Looks like this issue is fixed in recent eglot version. Thanks for the patience! ;-) |
Yep this seems to be fixed by #459 |
I'm using solargraph
0.28.1
and eglot at the commit hashf482c3ecf766a9230ea46a5f54b2bd7821c11233
.I wrote a file,
test.rb
with the content:StandardError
Moving the point over
StandardError
results in the following display:Solargraph appears to return the full documentation:
I'm not sure that there's a great solution to making this particular instance work well, but it seems like there could be better handling of this case to indicate that the full content is not being displayed, and perhaps to favor the beginning of it rather than the end.
The text was updated successfully, but these errors were encountered: