Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>CMake Preset IndicatorNew to Visual Studio Code? Get it now.
CMake Preset Indicator

CMake Preset Indicator

Michael Yudelson

| (0) | Free
A minimal VS Code status bar indicator showing the active CMake configure preset.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CMake Preset Indicator

A minimal VS Code extension that shows the currently selected CMake Configure Preset directly in the status bar.

Useful when working with projects that switch frequently between configurations such as:

  • 🐞 Debug
  • 🚀 RelWithDebInfo
  • 🔥 Release

without keeping the full CMake Tools status bar visible.

Features

  • Shows the active CMake Configure Preset
  • Updates when the preset changes
  • Uses the official CMake Tools API
  • Minimal status bar footprint

Example

With:

{
  "name": "debug",
  "displayName": "🐞 Debug"
}

the status bar shows: 🐞 Debug.

Switch to:

{
  "name": "relwithdebinfo",
  "displayName": "🚀 RelWithDebInfo"
}

and it updates automatically.

Requirements

  • VS Code
  • CMake Tools extension

Installation

Install from the VS Code Marketplace: (search: CMake Preset Indicator) or install manually from a .vsix file.

Development

Clone:

git clone https://github.com/YOUR_USERNAME/cmake-preset-indicator.git
cd cmake-preset-indicator

Install dependencies:

npm install

Compile:

npm run compile

Run:

Press F5 to launch the Extension Development Host.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft