microsoft / microsoft/vscode-cmake-tools

[CMake Cache Editor] add checkbox filters for "advanced" and internal cache variables

Open
#2,676 2 comments 2 reactions 0 assignees View on GitHub
enhancement Feature: cache editor help wanted
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

### Brief Issue Summary

CMake has a feature [to mark cache variables as "advanced"](https://cmake.org/cmake/help/latest/command/mark_as_advanced.html) (as in "for advanced/expert usage scenarios"). [ccmake](https://cmake.org/cmake/help/latest/manual/ccmake.1.html) has a control to toggle showing advanced cache variables and hides them by default.

Cache variables can also [be marked as "internal"](https://cmake.org/cmake/help/latest/command/set.html#set-cache-entry). [cmake-gui](https://cmake.org/cmake/help/latest/manual/cmake-gui.1.html) never shows internal cache variables.

It would be a nice quality of life feature if the GUI editor in this extension also exhibited similar behaviours. Right now, it seems to always show everything.

### CMake Tools Diagnostics

_No response_

### Debug Log

_No response_

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Research direction

Locate the CMake Cache Editor entry point and the existing cache-variable parsing and rendering flow; inspect how advanced and internal variables are represented. Validate the requested default visibility and checkbox toggles against CMake’s definitions, and confirm that the editor can show or hide each category as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, typescript
Domain
build-system, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.