disroop / vs-code-conan

Conan integration in Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=disroop.conan
MIT License
18 stars 11 forks source link

Virtual environments #159

Open stephematician opened 2 years ago

stephematician commented 2 years ago

I haven't been able to use this tool when conan is installed in a virtual environment. Is there an obvious step I am missing? The python VSCode extension is able to detect and use the virtual environment; however I cannot perform any of the commands from disroop conan (e.g. createTemplate)

I get the following error dialog message:

Command 'Disroop Conan: Create Template' resulted in an error (command 'vs-code-conan.createTemplate' not found)
shyney7 commented 2 years ago

I have the same problem! There needs to be a way to specify in which venv conan is installed.

amdokamal commented 8 months ago

Checked the plugin on WSL2 and it's a no-go there too. It keeps defaulting to the regular Conan executable instead of the WSL one.