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

"python.analysis.autoImportCompletions": false not working. #5907

Closed
ivanlen opened this issue May 23, 2024 · 2 comments
Closed

"python.analysis.autoImportCompletions": false not working. #5907

ivanlen opened this issue May 23, 2024 · 2 comments
Assignees
Labels
waiting for user response Requires more information from user

Comments

@ivanlen
Copy link

ivanlen commented May 23, 2024

  • 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

  1. I create a new file
  2. I type sin
  3. 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?

@github-actions github-actions bot added the needs repro Issue has not been reproduced yet label May 23, 2024
@heejaechang
Copy link
Contributor

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.

@StellaHuang95 StellaHuang95 added waiting for user response Requires more information from user and removed needs repro Issue has not been reproduced yet labels May 24, 2024
Copy link
Contributor

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.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for user response Requires more information from user
Projects
None yet
Development

No branches or pull requests

3 participants