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

Add docs memoization #1417

Merged
merged 1 commit into from
Jan 8, 2024
Merged

Add docs memoization #1417

merged 1 commit into from
Jan 8, 2024

Conversation

jdamanalo
Copy link
Contributor

Closes #1208, and a little more. Since the memoization is done in els_docs, the change should also help els_signature_help_provider and els_completion_provider. Should tests be written here for the integration with the 2?

Also, there is a slight difference between this PR and #1208 in that there is a small amount of time when the memoization can be cancelled. I wasn't able to think of a solution without changing els_background_job.

@jdamanalo
Copy link
Contributor Author

Fixed dialyzer checks on older OTP.

@plux
Copy link
Contributor

plux commented Dec 21, 2023

Hi @jdamanalo , thanks for submitting this PR and sorry for the long response time.
This looks like an excellent addition, however it seems like there's conflicts that needs to be resolved.

Could you please rebase on main and resolve the conflicts? Thank you!

@plux
Copy link
Contributor

plux commented Jan 8, 2024

Thanks for your contribution @jdamanalo !

Seems like CI is a bit salty, I will merge this anyway.

@plux plux merged commit 31dd2dd into erlang-ls:main Jan 8, 2024
3 of 6 checks passed
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.

Memoize textDocument/hover requests to produce Edoc
2 participants