Open linette-zyy opened 2 months ago
@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?
I can repro in today's build. Python installed from VS. Only os.getcwd is added to the file.
Might be the pylance version that's making a difference. What's your pylance version?
I can repro in today's build. Python installed from VS.
I can repro, this is also a regression since pylance 2024.7.104. Might have the same root cause as https://github.com/microsoft/PTVS/issues/7974
@linette-zyy can you check if it still repros? Thanks!
I can repro in today's build. Python installed from VS.
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.