Home >Development Tools >VSCode >vscode cannot automatically complete
Problem:
After reinstalling vscode, I found that the settings in vscode are still there, but the package in the virtual environment cannot be recognized when typing the code, so related content There is also no way to autocomplete.
Cause:
I forgot to reselect the Python interpreter after reinstalling vscode.
Recommended tutorial: vscode tutorial
Solution:
Click Python xxx in the lower right corner, as shown in the picture:
After that, select the interpreter you want in the drop-down box that appears above.
For more programming related content, please pay attention to the Programming Introduction column on the php Chinese website!
The above is the detailed content of vscode cannot automatically complete. For more information, please follow other related articles on the PHP Chinese website!