Hacker Newsnew | past | comments | ask | show | jobs | submit | axismundi's favoriteslogin

For VSCode to recognize the virtualenvs created by Poetry, you just have to add a setting for the Python extension:

    "python.venvFolders": [
        "~/.cache/pypoetry/virtualenvs",
        "~/.pyenv/versions",
    ],
This will make VSCode automatically recognize virtualenv interpreters, so you can select them without starting code from an activated shell.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: