Autocomplete not working in Visual Studio Code python

Viewed 6368

I know that there is a lot of similar questions of this, but none of them worked for me. My autocomplete feature in Visual Studio Code just stopped working.

enter image description here

I'm using python 3.7.4 from Anaconda3 distribution.

I've also installed the python extension.

Below is my settings.json content from Visual Studio Code:

settings.json

{
    "python.dataScience.sendSelectionToInteractiveWindow": true,
    "python.dataScience.askForKernelRestart": false,
    "editor.fontFamily": "Fira Code",
    "editor.fontLigatures": true,
    "python.pythonPath": "C:\\Program Files\\Anaconda3\\python.exe",
    "terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe",
    "python.linting.enabled": false,
    "editor.tabCompletion": "on",
    "files.autoSave": "afterDelay",
    "files.autoSaveDelay": 500,
    "python.formatting.provider": "black",
    "python.linting.pylintEnabled": true,
    "python.linting.flake8Enabled": true,
}

I've already tried to uninstall and reinstall Visual Studio Code with no success and also same with Python extension...

Can't figure out what is the problem.

Appreciate any help.


Update

enter image description here

I just noticed that my python interpreter is not activating in conda environment. Could that be the problem? Shouldn't it be Python 3.7.4 ('base':conda) as showned at Using Python environments in Visual Studio Code?

enter image description here

0 Answers
Related