Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tab-completion of keyword arguments makes paranthesis #12333

Closed
skjerns opened this issue Apr 15, 2020 · 4 comments
Closed

Tab-completion of keyword arguments makes paranthesis #12333

skjerns opened this issue Apr 15, 2020 · 4 comments

Comments

@skjerns
Copy link
Contributor

skjerns commented Apr 15, 2020

Problem Description

If I press to autocomplete a keyword, instead of an = I get a () as a suggestion

What steps reproduce the problem?

def test(argument=True):
    pass

# now write
test(argu<tab>

# expected
test(argument=

# instead
test(argument()

This worked fine in previous version. Is this a bug on my side?

  • Spyder version: 4.1.2
  • Python version: 3.7
  • Operating System name/version: Win 10
@arteagac
Copy link
Contributor

I am facing the same issue.
Spyder 4.2.0.dev0 (Commit: 755acb7)
Python 3.7.7 64-bit | Qt 5.9.6 | PyQt5 5.9.2 | Linux 5.4.0-26-generic

@goanpeca
Copy link
Member

goanpeca commented May 5, 2020

I can confirm this bug.

Screen Shot 2020-05-04 at 22.29.37.png

@ccordoba12
Copy link
Member

I think this is a bug in the PyLS.

@steff456, please take a look at this one.

@steff456
Copy link
Member

I checked out the error in PyLS, and it seems that this is fixed by upgrading jedi to 0.17. So this issue should be fixed when PR #12792 is merged.

jedi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
v4.1.4
Release
Development

No branches or pull requests

5 participants