microsoft / microsoft/vscode-cmake-tools

CMake Debugger: group variables better

Open
#3,317 1 comment 0 reactions 0 assignees View on GitHub
enhancement Feature: CMake Debugger
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

### Brief Issue Summary

See the image:
![image](https://github.com/microsoft/vscode-cmake-tools/assets/30894796/354a6d48-d4cc-4987-bfbc-379f22a01692)

There are 52 local variables (already reduced from 140 by unsetting variables). So it is quite hard to find/see the variable I would be looking for.

So is there some way to group variables better (like the cmake gui does by `prefix_`) or to filter the variables in the debug view somehow? Alternatively showing variables only set by `CMAKE_CURRENT_LIST_FILE` and provide an expandable tree for the `CMAKE_PARENT_LIST_FILE` or variables set via `PARENT_SCOPE` from included/"child like" list files?

### CMake Tools Diagnostics

_No response_

### Debug Log

_No response_

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named in the issue. Start by reviewing the existing CMake debugger variable view and the requested grouping or filtering alternatives, then define one concrete behavior and acceptance criteria before locating the implementation. Done means the debug view presents CMake variables in the agreed grouping or filtering scheme.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, typescript
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.