lexical-lsp / lexical

Lexical is a next-generation elixir language server
782 stars 77 forks source link

Stopped indexing references in deps #591

Closed scohen closed 4 months ago

scohen commented 4 months ago

We were indexing references for modules and functions in dependencies. This made the index much larger than it needed to be, and would cloud "find references" with references that your project didn't make. I could see it being useful in niche situations, but the default should be to not index them.

On lexical, this halves memory usage by the VM

In the future, this could be a per-project setting

Fixes #590