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

Make eldoc faster (and slightly smarter) #1765

Merged
merged 3 commits into from
Mar 26, 2020

Conversation

galaunay
Copy link
Collaborator

PR Summary

Make eldoc display faster by avoiding multiple calls to the RPC.
Also enhance a bit the kind of information eldoc displays:

  • Avoid displaying infos about basic builtins
  • In case we can display a calltip and a function at the same time, favour the function if the doc is available.

PR checklist

Please make sure that the following things have been addressed (and check the relevant checkboxes):

  • Commits respect our guidelines
  • Tests are passing properly (see here on how to run Elpy's tests)

@coveralls
Copy link

coveralls commented Mar 26, 2020

Coverage Status

Coverage decreased (-0.2%) to 92.145% when pulling 9440115 on galaunay:faster-eldoc into d02f4da on jorgenschaefer:master.

@galaunay galaunay merged commit 00d6863 into jorgenschaefer:master Mar 26, 2020
@galaunay galaunay deleted the faster-eldoc branch March 26, 2020 22:07
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 this pull request may close these issues.

None yet

2 participants