Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add conan commands to status bar #27

Open
zlacelle opened this issue Sep 27, 2022 · 5 comments
Open

Add conan commands to status bar #27

zlacelle opened this issue Sep 27, 2022 · 5 comments
Labels
enhancement New feature or request
Projects

Comments

@zlacelle
Copy link

It would be great if, like the CMake extension, you could add buttons to automatically run "conan install", "conan build", and "conan create".

It would also be great to be able to select different profiles to run from a menu here (also like CMake) so that we could easily switch from debug to release, cross compiling, etc.

Nice extension btw!

@afri-bit
Copy link
Owner

Thanks for your feedback.

I think the feature that you are requesting regarding conan build and other conan commands can be configured using the JSON files. Please check the README.md at the last section with the JSON format. Let me know, if this is what you are looking for.

The debug, release, can be configured using the JSON file.

@afri-bit
Copy link
Owner

So basically if you have this JSON file, you can call the VS Code command e.g. VSConan: Create and it will parse the JSON file and list all the configuration that you have in the JSON file. So you can have multiple configurations for conan create and other conan commands with build type release or debug, profile, user, channel and other arguments, that you need to put into the command.

@zlacelle
Copy link
Author

zlacelle commented Oct 3, 2022

The commands definitely work, but I'd like to have the pop-up menus and click buttons for single-click builds like CMake or GCC plugins have, in the bottom menu. This is nice because then developers don't have to use the "ctrl-shift-p >vsconan: install" syntax.

Just a nice-to-have, but would bring it up to parity with CMake's plugin visualization.

@afri-bit afri-bit added the enhancement New feature or request label Oct 5, 2022
@afri-bit afri-bit added this to To do in Explorer Oct 5, 2022
@afri-bit
Copy link
Owner

afri-bit commented Oct 5, 2022

I see.
I will take a look, what I can do :) It should be not that hard to implement.

@afri-bit
Copy link
Owner

Closing for clean up

@afri-bit afri-bit reopened this Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: To do
Development

No branches or pull requests

2 participants