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

 

不一一注明了

 

謝謝!


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM