Skip to content

Limit completions by keeping only the most relevant ones while generating them #14159

@Veykril

Description

@Veykril

We currently generate all applicable completions which can be overwhelming in certain scenarios #13124. We should eagerly generate the completion scores while building the completions and instead of keeping an unbounded buffer where we push them into, we should only keep the X highest scored completions in the accumulation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-completionautocompletionC-ArchitectureBig architectural things which we need to figure up-front (or suggestions for rewrites :0) )C-enhancementCategory: enhancementE-unknownIt's unclear if the issue is E-hard or E-easy without digging in

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions