Home >Development Tools >VSCode >vscode cannot automatically complete

vscode cannot automatically complete

王林
王林Original
2020-02-19 17:19:168838browse

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:

vscode cannot automatically complete

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn