VSCode - winpython/winpython GitHub Wiki

VS Code Installation Folder

Unzip VS Code ZIP file (See VS Code Download, Look for the .zip in 64 Bit variant) into <WinPythonInsFolder>/t/VSCode.

Making VS Code recognizing Winpython

have a vscode and install the python extension.

Currently three options:

Option 1:

  • launch you favorite "winpython command prompt"
  • type "code" to lauch vscode, and do ++P to select the current Python interpreter in the path

Option 2:

nota:

  • the user "settings.json" of VSCode is in "C:\Users[your_profile]\AppData\Roaming\Code\User, for a VSCODE windows install,
  • a VSCODE systems install brings automatic updates,
  • Jedi is our classic completer, that Spyder-4 and VSCode tends to replace per "Microsoft langage server"

to make it work:

Option 3: (too complex)

 "python.pythonPath": "C:\\WinP\\bd37\\bu\\winp64-3.7.x.0\\python-3.7.1rc2.amd64\\python.exe",
 - full example:
{
    "python.pythonPath": "C:\\WinP\\bd37\\bu\\winp64-3.7.x.0\\python-3.7.1rc2.amd64\\python.exe",
    "workbench.colorTheme": "Visual Studio Dark",
    "editor.minimap.enabled": true,
    "python.linting.pylintArgs": [
        "--disable=C0301", // Line too long
        "--disable=C0103", // Invalid function name"
        "--disable=C0303", // Trailing whitespace
        "--disable=C0111" // :Missing function docstrin"
    ],
    "editor.renderWhitespace": "none",
    "editor.renderControlCharacters": true,
    "[cpp]": {
        "editor.quickSuggestions": false
    },
    "[c]": {
        "editor.quickSuggestions": false
    },
    "python.jediEnabled": false
}
⚠️ **GitHub.com Fallback** ⚠️