gpt4 book ai didi

python - Visual Studio代码没有变量建议

转载 作者:太空宇宙 更新时间:2023-11-03 21:19:12 25 4
gpt4 key购买 nike

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

enter image description here

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

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

我尝试过 set "python.jediEnabled": false,也不起作用。我在google上搜索了很长时间没有找到答案。Python 2.7.15

最佳答案

它适用于 0.1.78 版本的语言服务器,该版本默认在 2019 年 1 月发布的 Python 扩展中提供。

IntelliSense for a variable containing a string

关于python - Visual Studio代码没有变量建议,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54437879/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com