erlang-ls / erlang_ls

The Erlang Language Server
https://erlang-ls.github.io/
Apache License 2.0
620 stars 136 forks source link

Add edoc_parse_enabled to config #1464

Closed plux closed 6 months ago

plux commented 6 months ago

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.