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

Automatically erases brackets while trying to insert variable in python #7256

Closed
vsfeedback opened this issue Nov 30, 2022 · 1 comment
Closed

Comments

@vsfeedback
Copy link

This issue has been moved from a ticket on Developer Community.


Hello developers
I am beginner in visual studio. I code in python.
Here is the problem:
While inserting variable in the function parameters, I encounter the following problem.
For example:
This is my code:

def add_two_num(num1, num2):
return num1 + num2

num1 = 25
num2 = 30
add_two_num(num1, num2)

But when I write

add_two_num(n

A drop-down menu appears:
I select the variable. But either of this happens:

num1, num2)

or

add_two_num(num1, num2

My brace autocomplete is on.
Autocomplete suggestions also comes but sometime variable doesn't select also. I am attaching a video.
Sometimes the intellicode doesn't works also.
Hopefully you can help me to come out of this problem.

Riddhiman

P.S.: I was using pycharm but recently due to my slow computer I shifted to visual studio. But this simple error is irritating me so much


Original Comments

Feedback Bot on 11/27/2022, 05:49 PM:

(private comment, text removed)


Original Solutions

(no solutions)

@StellaHuang95
Copy link
Contributor

Hi there, this is a duplicate of #6786. Please check the status there, thanks!

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

No branches or pull requests

2 participants