1、检查插件是否已经安装 Python Extension Pack,Python Extended,Python Path 2、添加2个额外的配置 在setting.json中,增加两个变量
1 2 3 4 5 6 7 8 |
"python.autoComplete.extraPaths": [ "/home/myTest" ], "python.analysis.extraPaths": [ "/home/myTest" ] |
参考地址 https://github.com/microsoft/python-language-server/blob/master/T […]