microsoft / microsoft/vscode-cmake-tools

ctrl+s not working in CMake Cache Editor (UI)

Open
#4,000 10 comments 9 reactions 2 assignees Claimed by @hanniavalera View on GitHub
bug Feature: cache editor more votes needed
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

### Brief Issue Summary

The shortcut Ctrl+S (or whatever binding is set) does not work in the UI CMake Cache Editor.

**Reproduce:**

1. Open a CMake project
2. Press F1
3. CMake: Configure
4. CMake: Edit Cmake Cache UI
5. Change anything
6. Press `Ctrl+S` or Menu -> File -> Save

Nothing happens. I was expecting the document to be saved.

Only the Save button at the top of the document works.

### CMake Tools Diagnostics

```shell
{
"os": "win32",
"vscodeVersion": "1.92.2",
"cmtVersion": "1.18.44",
"configurations": [
{
"folder": "c:\\TechnoTeam\\develop\\src\\TT_CodeBase",
"cmakeVersion": "3.29.3",
"configured": true,
"generator": "Ninja Multi-Config",
"usesPresets": true,
"compilers": {
"C": "C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe",
"CXX": "C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe"
}
}
],
"cpptoolsIntegration": {
"isReady": true,
"hasCodeModel": true,
"activeBuildType": "Debug",
"buildTypesSeen": [
"Debug",
"Release"
],
"requests": [],
"responses": [],
"partialMatches": [],
"targetCount": 94,
"executablesCount": 5,
"librariesCount": 21,
"targets": []
},
"settings": [
{
"communicationMode": "automatic",
"useCMakePresets": "auto",
"configureOnOpen": false
}
]
}
```

### Debug Log

_No response_

### Additional Information

Version: 1.92.2 (user setup)
Commit: fee1edb8d6d72a0ddff41e5f71a671c23ed924b9
Date: 2024-08-14T17:29:30.058Z
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.22631

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.