-
Notifications
You must be signed in to change notification settings - Fork 674
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
Checking "Automatically add brackets to functions" has no effect. #7958
Comments
@linette-zyy I can't repro in Microsoft Visual Studio Enterprise 2022 (64-bit) - Int Preview Version 17.12.0 Preview 1.0 [35130.250.main]. Could you verify? |
Might be the pylance version that's making a difference. What's your pylance version? |
I can repro, this is also a regression since pylance 2024.7.104. Might have the same root cause as #7974 |
@linette-zyy can you check if it still repros? Thanks! |
Can't repro with Pylance 2024.10.102. It should be fixed once the latest Pylance is shipped and consumed by PTVS. |
Environment
Steps to Reproduce
1.Check "Automatically add brackets for functions" (Tools/Options/Text Editor/Python/Advanced)
2.Add "import os" to python file.
3.Write "os.getc", you'll see autocomplete for os.getcwd, selecting it, ensure:
Expected behavior
Auto-complete adds os.getcwd() to the source code.
Additional context and screenshots
Only os.getcwd is added to the file.
The text was updated successfully, but these errors were encountered: