Closed
Description
The ProduceCompletions
rule depends on TypeCheck
, which means it cannot be computed until typechecking is done.
While this can be addressed by using stale data, I think it would be more elegant to improve the implementation so that it only needs the parsed module + the ModIface
of (the transitive closure of) imports and the package database.
Additionally, we could break down ProduceCompletions
in two parts:
ProduceCompletionsFromImports
ProduceCompletionsFromLocalModule
The first one would have no dependency on the ParsedModule
but only on the ModSummary
, which is already smart enough to survive across edits that do not alter the module import list, and therefore only ProduceCompletionsFromLocalModule
would need to be recomputed across edits.
Metadata
Metadata
Assignees
Labels
No labels