vs-code-conan icon indicating copy to clipboard operation
vs-code-conan copied to clipboard

Config to specify conan executable path

Open clxyder opened this issue 4 years ago • 11 comments

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 avatar May 05 '21 15:05 clxyder

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 avatar May 05 '21 18:05 clxyder

#25

clxyder avatar May 05 '21 18:05 clxyder

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

stefaneicher avatar May 07 '21 07:05 stefaneicher

This is solved in version 0.8.2

mymichu avatar Mar 07 '22 11:03 mymichu

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

clxyder avatar Mar 07 '22 11:03 clxyder

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?

mymichu avatar Mar 07 '22 11:03 mymichu

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.

clxyder avatar Mar 07 '22 11:03 clxyder

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

mymichu avatar Mar 07 '22 11:03 mymichu

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.

mymichu avatar Mar 07 '22 11:03 mymichu

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

clxyder avatar Mar 07 '22 11:03 clxyder

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)?

  • when I have conan in a virtual environment, I just get the error message "conan: not found" - which suggests that this plugin isn't looking at the selected virtual environment to do the path search to find conan?

RolandRosier-TomTom avatar Sep 19 '22 20:09 RolandRosier-TomTom