Skip to content

Auto-completing function calls does not insert parens #32

Closed
@RantSomeWhere

Description

@RantSomeWhere

I'm on Spacemacs and just switched from pyls to pyright . One thing I noticed is that auto-completion does not insert parens after completing a function name.
As an example (the pipe character is where he cursor would be): if I type pri|, company completes it to print|. I would expect it to expand to print(|) and drop the cursor inside the parens.

It works on pyls, is this an upstream issue on Pyright's end? I did try to update it as well, but no dice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions