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

how to stop pre-filling variables for functions #1905

Closed
jablka opened this issue Jan 29, 2023 · 2 comments
Closed

how to stop pre-filling variables for functions #1905

jablka opened this issue Jan 29, 2023 · 2 comments

Comments

@jablka
Copy link

jablka commented Jan 29, 2023

Hello, this is not a bug, but rather a question.

Say we have a function with some parameter/attribute to be passed in.

def myfunction(myvar):  
    pass

When calling the function (writing the code), Jedi automatically pre-fills (suggests) the parameter.

myfunction(myvar)

It is annoying for me. How can I disable this? And particularly in VSCode (since I'm using this.)
Thank you.

@PeterJCLaw
Copy link
Collaborator

This is a feature of the jedi-language-server package, previously reported in pappasam/jedi-language-server#124 and now tracked in microsoft/vscode-python#15858. While Jedi provides some of the underlying support for this behaviour, it defaults to being disabled and its use is ultimately configured by the VSCode plugin.

@davidhalter
Copy link
Owner

Thanks @PeterJCLaw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants