关于vscode转入不到Python定义

关于vscode转入不到Python定义

Pylance

  • 安装 Pylance插件
  • 打开setting.json

此时已自动将settings.json中python语言服务器设置为Pylance:

"python.languageServer": "Pylance"
  • 重启就好了

jedi

这样就把Language Server改成Jedi就可以了

猜你喜欢

转载自blog.csdn.net/ahelloyou/article/details/114869456