microsoft / vscode-cmake-tools

CMake integration in Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=vector-of-bool.cmake-tools
MIT License
1.47k stars 451 forks source link

Add "Configure" button #1533

Closed ghuser404 closed 3 weeks ago

ghuser404 commented 3 years ago

When working with CMake, one often wants to reconfigure their project. However, there isn't a "Configure" button in the status bar, so user has two ways to do that:

Add "Configure" button to the status bar that would interact with a build variant, the same way as:

andreeis commented 3 years ago

Thank you for your feature idea. We may not be able to implement it immediately, but we will track the community reactions to determine where this might fit into our backlog.

github-actions[bot] commented 1 year ago

This issue is now marked as 'stale-old' due to there being no activity on it for the past 720 days. Unless the 'stale-old' label is removed or the issue is commented on, this will be remain open for at least 14 days and then it may be closed. If you would like to make this issue exempt from getting stale, please add the 'stale-exempt' label.

S-Mohsen-H commented 4 months ago

I'd recommend using VSCode Action Buttons extension and use the button with the following setting: { "name": "Configure", "command": "cmake.configure", "useVsCodeApi": true, "singleInstance": true, } You can set the color and name of the button to your liking. The extension is a very useful one.

gcampbell-msft commented 3 weeks ago

@S-Mohsen-H @ghuser404 There is also the option to use the CMake: Configure command from the command palette. There is also the buttons in the Project Outline and the Project Status view. Closing this item since there are those buttons and/or commands available.