Visual Studio Code无变量建议

2024-06-10 07:01:38 发布

您现在位置:Python中文网/ 问答频道 /正文

我在Mojave上使用vscode 1.30.2。我已经安装了python扩展和visualstudio IntelliCode扩展。包可以自动完成,例如

enter image description here

但是,vscode无法识别变量的类型,也没有建议,比如 enter image description hereenter image description here

在Microsoft页面上,可以显示变量的一些建议。 enter image description here

我试过了”python.jedi启用“:错误,不工作。 我在谷歌上搜索了很长时间,没有找到答案。 Python 2.7.15


Tags: 答案类型错误页面vscode建议microsoftvisualstudio