VSCode supports many virtual environments as default and those environments' files are searchable. However, I'm using Poetry and its libraries don't seem to come up on the search.
I manually set my Python interpreter by changing .vscode/settings.json
in my project directory. (Because command palette's Python: Select interpreter
didn't work either.
{
"python.pythonPath": "~\\AppData\\Local\\pypoetry\\Cache\\virtualenvs\\finance-essentials-37-64-58e2e1Bc-py3.7\\Scripts"
}
I want to make files in ~\AppData\Local\pypoetry\Cache\virtualenvs\finance-essentials-37-64-58e2e1Bc-py3.7\Lib\site-packages
searchable on my command pelette & code context so that I can look up library sources easily.
How do I do this?