vscode配置python之settings.json 智能提示

 

vscode编写Python的智能提示,搞了好久,参考了各种网上配置,如下,备份方便自己查找。

{
    "workbench.iconTheme": "material-icon-theme",
    "files.autoSave": "afterDelay",
    "python.autoComplete.extraPaths": [
        "C:\\software\\Python\\Python35\\Lib\\site-packages",
        "C:\\software\\Python\\Python35\\Scripts",
    ],
    "files.autoGuessEncoding": true,
    "editor.fontSize": 16,
    "terminal.integrated.shellArgs.windows": ["/K chcp 65001 >nul"],
    "terminal.integrated.fontFamily": "Lucida Console",
    "editor.suggestSelection": "first",
    "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
    "code-runner.executorMap": { 
        "python": "set PYTHONIOENCODING=utf-8 && python -u" 
    },
    "python.jediEnabled": false,
    "python.autoComplete.addBrackets": true
}

 

参考了各种链接:https://www.cnblogs.com/yuer20180726/p/10942372.html

 

不一一注明了

 

谢谢!

posted @ 2019-11-22 16:42  宝山方圆  阅读(6098)  评论(0编辑  收藏  举报