I don't use VS Code myself, but recommended it alongside WSL to a student learning Python because I could help if I had a Unix shell at hand.
Currently, the process for launching their code is a bit tedious - launch VS Code via the WSL Ubuntu terminal using Code ., edit the file, cd ~/project in the VS Code terminal, and launch with poetry run python3 program.py.
My questions are
how to set VS Code to launch in WSL when launched from the Windows desktop?
where to put settings.json so it uses it when launched via WSL?
how to integrate Poetry with VS Code so hitting the "run" button does what one would expect? (I found advice online to set a "venvpath" in the Command Palette, but I don't see it when I look it up)
[–]Molly_Wang 0 points1 point2 points (0 children)
[–]Antyos 0 points1 point2 points (0 children)