Skip to content

Add function objects to completions #244

@llan-ml

Description

@llan-ml

In some cases, we might only want to use the name of a function. However, currently the function is always completed with parenthesis and parameters. An example is as follows:
image

Can we add an option like pylsp.plugins.jedi_completion.include_class_objects to add function objects as a separate completion item?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions