Skip to content

[lsp][completion] rank results based on compatibility in context #1653

@kinto0

Description

@kinto0

Describe the Bug

in this example:

Image

pyrefly knows that XB is incompatible there. pyrefly should rank it beneath the other suggestions which are compatible

Sandbox Link

No response

(Only applicable for extension issues) IDE Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    language-serverIssues specific to our IDE integration rather than type checking

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions