VS Code python自定义类或者函数Import后无自动补全提示

用VS code写python,标准模块自动补全都没有问题,在用自定义的module,import后怎么都没有补全提示。
最后采用替换掉Microsoft python analysis engine,采用了Jedi as intellisense engine。设置如下:
在settings.json中
{
“python.jediEnabled”: false,
“python.linting.pylintEnabled”: true
}
修改为 “python.jediEnabled”: true。
重新LOAD,哈哈,导入模块提示OK。

猜你喜欢

转载自blog.csdn.net/gohawk/article/details/85277290