Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: