Skip to content

more detail on completions #1285

@kinto0

Description

@kinto0

Describe the Bug

pyrefly fills out the "detail" section of completions, which render like this in vscode:

Image

however, some editors don't render that. instead choosing to render other sections. see this comparison on nvim-cmp of pyright (first) to pyrefly (second)

Image Image

this makes it impossible to see which item you're importing.

pyrefly should fill out the entire response to ensure all editors have a good experience

Sandbox Link

No response

(Only applicable for extension issues) IDE Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions