`"python.analysis.autoImportCompletions": false` not working.
- VS code: Version: 1.89.1 Commit: dc96b837cf6bb4af9cd736aa3af08cf8279f7685
- Language Server version: Pylance async client (2024.5.1) started with python extension (2024.6.0)
- OS and version: MacOs 14.4.1 (23E224)
- Python version (& distribution if applicable, e.g. Anaconda): 3.11.5 anaconda
I have
"python.analysis.autoImportCompletions": false in my settings and still I got auto imports
For example
- I create a new file
- I type sin
- I press tab the output is the following:
from math import sin
sin
I would expect that auto import completition works only for imported packages and does not auto import packages.
How can I disable this behaviour?
I can't repro it.
can you provide us some logs as described in the troubleshooting guide so we can confirm that you do have the setting set to false?
you might have other settings that re-enable it since settings in vscode is hierarchical.
This issue has been closed automatically because it needs more information and has not had recent activity. If the issue still persists, please reopen with the information requested. Thanks.