microsoft / microsoft/vscode-cmake-tools

Hide unused preset types when using CMakePresets.json

Open
#3,396 2 comments 1 reaction 0 assignees View on GitHub
enhancement Feature: status bar Feature: UI
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

### Brief Issue Summary

Since the status bar is rather crowded the unused preset types (for example build and test presets) should be hidden to save space.

### CMake Tools Diagnostics

_No response_

### Debug Log

_No response_

### Additional Information

Currently CMake Tools will show the configure, build and test presets in the status bar. Many configurations don't use any build and test presets so those info is of no use and takes precious space that could be saved.
This is for example very important when using the Vim extension that will use any remaining space for the command input.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how CMake Tools builds the VS Code status bar entries for configure, build, and test presets, then inspect how CMakePresets.json indicates which preset types exist. Done means unused preset types no longer occupy status bar space while available preset types remain usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, typescript
Domain
developer-experience, devtools
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.