🐍

poetryの依存にvscodeでコードジャンプする手順

に公開

02e0a2c72c8a9e

asdfで複数のpythonを使い分けてる環境の事例

cmd+shift+pでPython: Select Interpreterを選択

該当バージョンの~/Library/Caches/pypoetry/から始まるPython Interpreterを選択

出てこない場合は、以下を実行し、パスを取得

poetry run which python
# => /Users/lilpacy/Library/Caches/pypoetry/virtualenvs/tmp-Ef4UpWP3-py3.10/bin/python

無事、ライブラリの中身にコードジャンプできるようになりました👏

以上

Discussion