VS Code python设置第三方包的智能感知

VS Code版本信息

Version: 1.33.1 (user setup)
Commit: 51b0b28134d51361cf996d2f0a1c698247aeabd8
Date: 2019-04-11T08:27:14.102Z
Electron: 3.1.6
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.17134

 

VS Code python设置第三方包的智能感知_第1张图片

再输入

{

"python.linting.flake8Enabled": true,

"workbench.sideBar.location": "left",

"files.autoSave": "afterDelay",

"editor.suggestSelection": "first",

"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",

"python.jediEnabled": false,注意这里有个英文逗号

"python.autoComplete.extraPaths": ["C:/Users/YJPZ/AppData/Local/Programs/Python/Python37/Lib/site-packages",

"C:/Users/YJPZ/AppData/Local/Programs/Python/Python37/Lib"]

}

输入上文中的红色部分,"C:/Users/YJPZ/AppData/Local/Programs/Python/Python37/Lib/site-packages"是你第3方包的安装路径

保存后,重启下VS CODE

 

我的邮箱:[email protected]

我发明的一个智能硬件玩具【早教智慧魔方】,详见下面视频,和360周鸿祎交流过

http://card.weibo.com/video/h5/detail?object_id=2017607:5f3afff8f915c5e311a2c2ee8f759057

你可能感兴趣的:(VS Code python设置第三方包的智能感知)