disroop / vs-code-conan

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

Config to specify conan executable path #24

Open clxyder opened 3 years ago

clxyder commented 3 years ago

Hello!

I would like to request we add the ability to configure the path to the conan executable.

I am running into the issue that the spawned shell cannot find my conan command when it tries to execute a command.

clxyder commented 3 years ago

Hello! I was able to successfully specify a conan path with the branch I just pushed. I added a future functionality to specify profiles directory as well, but it currently does nothing.

clxyder commented 3 years ago

25

stefaneicher commented 3 years ago

Hi clxyder, thanks for your pull request https://github.com/disroop/vs-code-conan/pull/25 we will have review it as soon as possible

mymichu commented 2 years ago

This is solved in version 0.8.2

clxyder commented 2 years ago

Hi Michael do you have documentation on how to specify the path to conan?

mymichu commented 2 years ago

Hi Michael do you have documentation on how to specify the path to conan?

How to configure the plugin please have a look here: https://github.com/disroop/vs-code-conan/blob/master/docs/configure.adoc

Does that help?

clxyder commented 2 years ago

I believe what I worked on for this PR was to specify the path to a specific conan executable. I am not sure if I am not seeing that configuration and/or documentation.

mymichu commented 2 years ago

Ahh I understand what you mean.. instead having the Conan executable in the path you would like to configure it?

mymichu commented 2 years ago

I will reopen this issue. I had to refactor a lot of the code and I changed the concept a little bit. But if that is your request this should be an easy change.

clxyder commented 2 years ago

I should have been more specific when I submitted the PR. Thank you very much!

RolandRosier-TomTom commented 1 year ago

Could this be a similar issue to the one about the plugin not working when conan is in a virtual environment (https://github.com/disroop/vs-code-conan/issues/159)?