VS Code python自定义类或者函数Import后无自动补全提示
用VS code写python,标准模块自动补全都没有问题,在用自定义的module,import后怎么都没有补全提示。
最后采用替换掉Microsoft python analysis engine,采用了Jedi as intellisense engine。设置如下:
在settings.json中搜索python.jediEnabled
修改为true:
{
"python.jediEnabled": true,
}
网友评论