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

UI for configuring CMake cache, Kits, settings, etc. #513

Closed
vector-of-bool opened this issue Aug 14, 2018 · 9 comments
Closed

UI for configuring CMake cache, Kits, settings, etc. #513

vector-of-bool opened this issue Aug 14, 2018 · 9 comments
Labels
enhancement an enhancement to the product that is either not present or an improvement to an existing feature Feature: configure stale-old to use with the close-old-issues bot
Milestone

Comments

@vector-of-bool
Copy link
Contributor

Other IDEs and editors have fancy UIs for interacting with CMake. Why don't we?

With the new WebView API, this should be entirely possible.

Things I'd like:

  • Cache variable editor
  • Kit selector
  • Preferences and settings
@vector-of-bool vector-of-bool added the enhancement an enhancement to the product that is either not present or an improvement to an existing feature label Aug 14, 2018
@vector-of-bool vector-of-bool added this to the 1.2.0 milestone Aug 14, 2018
@bobbrow bobbrow changed the title New WebView-based configuration editor UI for configuring CMake cache, Kits, settings, etc. Jul 19, 2019
@bobbrow bobbrow modified the milestones: 1.2.0, Backlog Aug 9, 2019
@gocarlos
Copy link

is someone working on this? eventually we could sponsor this feature...
we are mostly interested in configuring the cmake options as qt creator does:
image

currently we are using the settings.json

{
    "cmake.configureSettings": {
        "SYSTEMX_ENABLE_WEBSERVER": true,
        "SYSTEMX_BUILD_SINGLE_APP": true,
        "SYSTEMX_ENABLE_RUNTIME_PYTHON": true,
        "SYSTEMX_ENABLE_DB": true,
    }
}

though we only want to change this for the developer and not for all devs working on this project (this file is checked in)

this should be pretty simple -> just parse the build/CMakeCache.txt and create a nice UI in the CmakeTools UI widget

@bobbrow what do you think?

@bobbrow
Copy link
Member

bobbrow commented Dec 5, 2019

This is a good idea, but it is not something that we're looking at right now. The VS Code team has discouraged us from adding UI for settings, so our first inclination is to work with them to see what we can leverage.

For things that don't fit well into that (e.g. cache editing) we can consider adding UI. We had to do something similar with cpptools for c_cpp_properties.json

@Zingam
Copy link
Contributor

Zingam commented Dec 5, 2019

A similar feature has been added to Visual Studio 2019 in its latest releases, which basically is a GUI editor for: CMakeSettings.json #529. I think it is a very good portable configuration format and it is already adopted by other IDEs (CLion?).

@rafmudaf
Copy link

Agreed, a better interactive experience would be helpful and much more useful than listing the CMakeLists for each target in the existing CMake pane. The UI in qt creator listed above or in the official CMake app are perfect examples.

@gocarlos
Copy link

we started doing this in our fork:
image

@gocarlos
Copy link

gocarlos commented Jan 16, 2020

we want to have something like a GUI config page for cmake.

we would like to merge it back if there is interest from upstream, otherwise we will create an cmake-gui extension which uses the apis from this extension... what do you think?

meanwhile you can test it here: https://marketplace.visualstudio.com/items?itemName=gocarlos.cmake-tools (official cmake extension has to be uninstalled first)

@bobbrow
Copy link
Member

bobbrow commented Jan 16, 2020

Yes, there is upstream interest. I don't think we want to fragment the CMake experience into separate extensions that provide overlapping, but disparate features.

@github-actions
Copy link

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.

@github-actions github-actions bot added the stale-old to use with the close-old-issues bot label Oct 19, 2023
Copy link

This issue is now closed due to there being no activity on it for the past 14 days since being marked as 'stale-old'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement an enhancement to the product that is either not present or an improvement to an existing feature Feature: configure stale-old to use with the close-old-issues bot
Projects
None yet
Development

No branches or pull requests

5 participants