VsCode 第三方安装包智能加载

285 阅读1分钟

1.vscode 版本信息:

2.具体操作如下:

再输入:

"workbench.colorTheme": "Visual Studio Dark",

"window.menuBarVisibility": "default",

"window.zoomLevel": 0,

"editor.suggestSelection": "first",

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

"python.pythonPath": "/home/ubuntu/anaconda3/bin/python",

"python.autoComplete.extraPaths": [

"/home/ubuntu/anaconda3/lib/python3.6",

"/home/ubuntu/anaconda3/lib/python3.6/site-packages",

"/home/ubuntu/anaconda3/lib/python3.6/site-packages/tensorflow"

],

"python.linting.flake8Enabled": true,

"python.formatting.provider": "yapf",

"python.linting.flake8Args": [

"--max-line-length=128",

"--ignore=E501, E262, F401 ,E302,E265,E401",

],

输入上文中的红色部分 , 就是你第3方包的安装路径,保存后,重启下vscode