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 edoc_parse_enabled to config #1464

Merged
merged 2 commits into from
Dec 20, 2023
Merged

Add edoc_parse_enabled to config #1464

merged 2 commits into from
Dec 20, 2023

Conversation

plux
Copy link
Contributor

@plux plux commented Dec 20, 2023

Description

Adds config option to disable edoc parsing.

Found that parsing some files took very long time to edoc parse which made completion break.

Simple solution, add an option to disable the edoc parsing if one runs into such issues.

For future consideration: Add a timeout for edoc parsing so it can be interrupted if it takes too long.

@plux plux merged commit cee4096 into main Dec 20, 2023
10 checks passed
@plux plux deleted the config-disable-edoc branch December 20, 2023 23:38
shuying2244 pushed a commit to shuying2244/erlang_ls that referenced this pull request Dec 30, 2023
Add config option to disable edoc parsing.

Found that parsing some files took very long
time to edoc parsewhich made completion break.

Simple solution, add an option to disable the
edoc parsing ifone runs into such issues.
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.

1 participant